]> git.kaiwu.me - nginx.git/commit
several changes in cache cleanup handling:
authorIgor Sysoev <igor@sysoev.ru>
Wed, 28 Jul 2010 15:49:34 +0000 (15:49 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 28 Jul 2010 15:49:34 +0000 (15:49 +0000)
commit406a68003cfc3b9907bd40699c4a51df4cee3a5a
tree3375c5abfa5b609b71145b2bec2e918dc67b4aa9
parent18b36e5035ec5b96fbc44311df5e5dd426d4e93e
several changes in cache cleanup handling:

*) now ngx_http_file_cache_cleanup() uses ngx_http_file_cache_free()
*) ngx_http_file_cache_free() interface has been changed to accept r->cache
   ngx_http_file_cache_cleanup() must use r->cache, but not r, because
   there can be several r->cache's during request processing, r->cache may
   be NULL at request finalising, etc.
*) test if updating request does not complete correctly
src/http/ngx_http_cache.h
src/http/ngx_http_file_cache.c
src/http/ngx_http_upstream.c