diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-06-26 02:20:09 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-06-26 02:20:09 +0400 |
commit | 5d477a76feff7b1c583eb40a8d14afca8f6cb3a2 (patch) | |
tree | 1a3712bdd81fb0e818af0b72f7d8f045389ae72f /src/http/ngx_http_request.h | |
parent | 6c25c848cb2a68eac42b011f33ba9cc186625c50 (diff) | |
download | nginx-5d477a76feff7b1c583eb40a8d14afca8f6cb3a2.tar.gz nginx-5d477a76feff7b1c583eb40a8d14afca8f6cb3a2.zip |
Upstream: fixed cache revalidation with SSI.
Previous code in ngx_http_upstream_send_response() used last modified time
from r->headers_out.last_modified_time after the header filter chain was
already called. At this point, last_modified_time may be already cleared,
e.g., with SSI, resulting in incorrect last modified time stored in a
cache file. Fix is to introduce u->headers_in.last_modified_time instead.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions