]> git.kaiwu.me - nginx.git/commit
Proxy: detection of data after final chunk.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 6 Jul 2020 15:36:20 +0000 (18:36 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 6 Jul 2020 15:36:20 +0000 (18:36 +0300)
commit156e193408f8c1847f911b8758aa315d71c52211
tree063fba0e541953aa0efaf5e025b317787b5a901e
parenta2abe31a85c030d14aabcbe1f13ef6cc538e86fa
Proxy: detection of data after final chunk.

Previously, additional data after final chunk was either ignored
(in the same buffer, or during unbuffered proxying) or sent to the
client (in the next buffer already if it was already read from the
socket).  Now additional data are properly detected and ignored
in all cases.  Additionally, a warning is now logged and keepalive
is disabled in the connection.
src/http/modules/ngx_http_proxy_module.c