]> git.kaiwu.me - nginx.git/commit
Cache: update variant while setting header.
authorValentin Bartenev <vbart@nginx.com>
Fri, 26 Dec 2014 13:22:56 +0000 (16:22 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 26 Dec 2014 13:22:56 +0000 (16:22 +0300)
commit1858857c25dc38be78b2f008c9f496246a8f8c9f
tree6db864dd73559ffab3aab206790a1a33704a9546
parenta54e37eddacacb5c3aedad898b431705948eb80c
Cache: update variant while setting header.

Some parts of code related to handling variants of a resource moved into
a separate function that is called earlier.  This allows to use cache file
name as a prefix for temporary file in the following patch.
src/http/ngx_http_cache.h
src/http/ngx_http_file_cache.c
src/http/ngx_http_upstream.c