summaryrefslogtreecommitdiffhomepage
path: root/src/stream/ngx_stream_proxy_module.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2025-02-11 22:54:04 +0400
committerpluknet <pluknet@nginx.com>2025-02-21 00:04:12 +0400
commitd25139db01b636a8212c13e1feeca37eaadad0b5 (patch)
tree9552074bbf881a314a1ad50d4f3514451f39321e /src/stream/ngx_stream_proxy_module.c
parentf51e2de6fe303506538ba939e9071a11387d8275 (diff)
downloadnginx-d25139db01b636a8212c13e1feeca37eaadad0b5.tar.gz
nginx-d25139db01b636a8212c13e1feeca37eaadad0b5.tar.bz2
Improved ngx_http_subrequest() error handling.
Previously, request might be left in inconsistent state in case of error, which manifested in "http request count is zero" alerts when used by SSI filter. The fix is to reshuffle initialization order to postpone committing state changes until after any potentially failing parts. Found by bad memory allocator simulation.
Diffstat (limited to 'src/stream/ngx_stream_proxy_module.c')
0 files changed, 0 insertions, 0 deletions