summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-03-05 12:33:06 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-03-05 12:33:06 +0000
commit8f78d3ae636d01a3f76e67a51808506c4a943891 (patch)
treed68bde78688e187e7f117f87b6637d349ba52390 /src/http/ngx_http_request.c
parentd2ad924d3336f060aaafb7886006f806d115e5e0 (diff)
downloadnginx-8f78d3ae636d01a3f76e67a51808506c4a943891.tar.gz
nginx-8f78d3ae636d01a3f76e67a51808506c4a943891.tar.bz2
Merge of r4470:
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 '')
0 files changed, 0 insertions, 0 deletions