]> git.kaiwu.me - nginx.git/commit
Upstream: fixed u->conf->preserve_output (ticket #1519).
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 5 Apr 2018 13:56:12 +0000 (16:56 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 5 Apr 2018 13:56:12 +0000 (16:56 +0300)
commitf9e43a31544bb67f24703e1dad91ea51f49c7a16
treeb7bcbda7f08ecc517f6b2bcf2d6166effc80d752
parent923c9d5f3b09c54ebbd841c2e36a8997b1430207
Upstream: fixed u->conf->preserve_output (ticket #1519).

Previously, ngx_http_upstream_process_header() might be called after
we've finished reading response headers and switched to a different read
event handler, leading to errors with gRPC proxying.  Additionally,
the u->conf->read_timeout timer might be re-armed during reading response
headers (while this is expected to be a single timeout on reading
the whole response header).
src/http/ngx_http_upstream.c