commit | 54e00f54b6a97379a301adf65157e56dce251ed2 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Mon Sep 03 19:34:02 2018 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Mon Sep 03 19:34:02 2018 +0300 |
tree | 0b53276fcfa886efaeae19f02a01bd99ab416a7d | |
parent | ebcab6d80f84cf9dbc9659faedf3703d76739642 [diff] |
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.