aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-07-18 20:11:40 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2014-07-18 20:11:40 +0400
commit248baf4262c6957b324aad4711dfcb681d4fa23d (patch)
treef3909d2d087382c18b077ced9822e026f5890c31 /src/core/ngx_string.c
parent88d9289f82e0992727e81b36667936b7187b214f (diff)
downloadnginx-248baf4262c6957b324aad4711dfcb681d4fa23d.tar.gz
nginx-248baf4262c6957b324aad4711dfcb681d4fa23d.zip
Upstream: ngx_http_upstream_store() error handling fixes.
Previously, ngx_http_map_uri_to_path() errors were not checked in ngx_http_upstream_store(). Moreover, in case of errors temporary files were not deleted, as u->store was set to 0, preventing cleanup code in ngx_http_upstream_finalize_request() from removing them. With this patch, u->store is set to 0 only if there were no errors. Reported by Feng Gu.
Diffstat (limited to 'src/core/ngx_string.c')
0 files changed, 0 insertions, 0 deletions