]> git.kaiwu.me - nginx.git/commit
gRPC: disabled keepalive when sending control frames was blocked.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 3 Sep 2018 16:34:02 +0000 (19:34 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 3 Sep 2018 16:34:02 +0000 (19:34 +0300)
commitb540af619bb77e522dc435fa7872674f56f0883a
tree82701b695e23c8f5ea4372c13981a11486ad35b4
parent4c86fceffd2f3d0e713ce349f71d3b04118a3298
gRPC: disabled keepalive when sending control frames was blocked.

If sending request body was not completed (u->request_body_sent is not set),
the upstream keepalive module won't save such a connection.  However, it
is theoretically possible (though highly unlikely) that sending of some
control frames can be blocked after the request body was sent.  The
ctx->output_blocked flag introduced to disable keepalive in such cases.
src/http/modules/ngx_http_grpc_module.c