aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-02-13 15:28:19 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-02-13 15:28:19 +0000
commit01c133cda41fd6c9e0b1bcdfad5739a272107ff0 (patch)
tree68477f4d9ee91e1d664c42529d7d4e392ec1e8d5 /src/http/ngx_http_request.c
parent71ce7a13edff6180702f4982d6fb5744c9b81d5e (diff)
downloadnginx-01c133cda41fd6c9e0b1bcdfad5739a272107ff0.tar.gz
nginx-01c133cda41fd6c9e0b1bcdfad5739a272107ff0.zip
Fix for proxy_store leaving temporary files for subrequests.
Temporary files might not be removed if the "proxy_store" or "fastcgi_store" directives were used for subrequests (e.g. ssi includes) and client closed connection prematurely. Non-active subrequests are finalized out of the control of the upstream module when client closes a connection. As a result, the code to remove unfinished temporary files in ngx_http_upstream_process_request() wasn't executed. Fix is to move relevant code into ngx_http_upstream_finalize_request() which is called in all cases, either directly or via the cleanup handler.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions