]> 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)
commit07dbfd00fff456d05007cc1f35bd5a5b1349ef08
tree0b53276fcfa886efaeae19f02a01bd99ab416a7d
parent71e152debe7389574967639114dfa7a7107fec8d
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