Mercurial > hg > nginx-quic
comparison src/core/ngx_md5.h @ 4509:8e24fb8ee3e7 stable-1.0
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 05 Mar 2012 12:33:06 +0000 |
parents | 4919fb357a5d |
children | 9eefb38f0005 |
comparison
equal
deleted
inserted
replaced
4508:9f663da02aa7 | 4509:8e24fb8ee3e7 |
---|