diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2025-02-11 22:54:04 +0400 |
|---|---|---|
| committer | pluknet <pluknet@nginx.com> | 2025-02-21 00:04:12 +0400 |
| commit | d25139db01b636a8212c13e1feeca37eaadad0b5 (patch) | |
| tree | 9552074bbf881a314a1ad50d4f3514451f39321e /misc | |
| parent | f51e2de6fe303506538ba939e9071a11387d8275 (diff) | |
| download | nginx-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 'misc')
0 files changed, 0 insertions, 0 deletions
