aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_stub_status_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-03-14 12:37:54 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2013-03-14 12:37:54 +0000
commitc49abd2317594423a4399a1d32aee96cacaddc13 (patch)
tree7b535344562d7231683735e12f36d34228042bd2 /src/http/modules/ngx_http_stub_status_module.c
parent4641497e9c85f6e182c3f134da3f79f324c85e12 (diff)
downloadnginx-c49abd2317594423a4399a1d32aee96cacaddc13.tar.gz
nginx-c49abd2317594423a4399a1d32aee96cacaddc13.zip
Upstream: call ngx_http_run_posted_requests() on resolve errors.
If proxy_pass to a host with dynamic resolution was used to handle a subrequest, and host resolution failed, the main request wasn't run till something else happened on the connection. E.g. request to "/zzz" with the following configuration hanged: addition_types *; resolver 8.8.8.8; location /test { set $ihost xxx; proxy_pass http://$ihost; } location /zzz { add_after_body /test; return 200 "test"; } Report and original version of the patch by Lanshun Zhou, http://mailman.nginx.org/pipermail/nginx-devel/2013-March/003476.html.
Diffstat (limited to 'src/http/modules/ngx_http_stub_status_module.c')
0 files changed, 0 insertions, 0 deletions