commit | 5d477a76feff7b1c583eb40a8d14afca8f6cb3a2 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Jun 26 02:20:09 2014 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Jun 26 02:20:09 2014 +0400 |
tree | 1a3712bdd81fb0e818af0b72f7d8f045389ae72f | |
parent | 6c25c848cb2a68eac42b011f33ba9cc186625c50 [diff] |
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.