Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream_round_robin.h @ 4469:24c0dca04eb9
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 13 Feb 2012 15:28:19 +0000 |
parents | d620f497c50f |
children | c90801720a0c |
comparison
equal
deleted
inserted
replaced
4468:93dd50a9dc70 | 4469:24c0dca04eb9 |
---|