]> git.kaiwu.me - nginx.git/commit
Upstream: u->request_body_blocked flag.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 17 Mar 2018 20:04:22 +0000 (23:04 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Sat, 17 Mar 2018 20:04:22 +0000 (23:04 +0300)
commit7be60194c12d3565c0ad34cc65206f4c22d4af53
tree66a93c186e2ac70f7e2e3ffbba8e5b8635a7c5a9
parent7ef115a7e864573478e3f88d6a4ef689a1b73b92
Upstream: u->request_body_blocked flag.

The flag indicates whether last ngx_output_chain() returned NGX_AGAIN
or not.  If the flag is set, we arm the u->conf->send_timeout timer.
The flag complements c->write->ready test, and allows to stop sending
the request body in an output filter due to protocol-specific flow
control.
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h