]> git.kaiwu.me - nginx.git/commit
Proxy: disabled keepalive on extra data in non-buffered mode.
authorAwdhesh Mathpal <mathpal@amazon.com>
Fri, 8 Oct 2021 02:23:11 +0000 (19:23 -0700)
committerAwdhesh Mathpal <mathpal@amazon.com>
Fri, 8 Oct 2021 02:23:11 +0000 (19:23 -0700)
commit2a88047ac1a88fbe6038a822e0f1b67af847c998
tree689a97851a82c4af7b4d9def5414ab0cd6bb1ed0
parentc9c3f2f005c43fd885bd78f86e1044261e639bea
Proxy: disabled keepalive on extra data in non-buffered mode.

The u->keepalive flag is initialized early if the response has no body
(or an empty body), and needs to be reset if there are any extra data,
similarly to how it is done in ngx_http_proxy_copy_filter().  Missed
in 83c4622053b0.
src/http/modules/ngx_http_proxy_module.c