From: Igor Sysoev Date: Wed, 1 Apr 2009 13:05:38 +0000 (+0000) Subject: zero cache file length, X-Git-Tag: release-0.7.47~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=931d313311c107508c1480b643875ea6f1d6908c;p=nginx.git zero cache file length, this fixes full cache purging and hogging CPU by the cache manager after this --- diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 42315f770..d000a9d14 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -448,6 +448,7 @@ renew: fcn->valid_sec = 0; fcn->uniq = 0; fcn->body_start = 0; + fcn->length = 0; done: