The official NGINX Open Source repository.
Go to file
Maxim Dounin 8f9fb9570e Entity tags: explicit flag to skip not modified filter.
Previously, last_modified_time was tested against -1 to check if the
not modified filter should be skipped.  Notably, this prevented nginx
from additional If-Modified-Since (et al.) checks on proxied responses.
Such behaviour is suboptimal in some cases though, as checks are always
skipped on responses from a cache with ETag only (without Last-Modified),
resulting in If-None-Match being ignored in such cases.  Additionally,
it was not possible to return 412 from the If-Unmodified-Since if last
modification time was not known for some reason.

This change introduces explicit r->disable_not_modified flag instead,
which is set by ngx_http_upstream_process_headers().
2014-06-26 02:27:11 +04:00
auto Configure: workaround for system perl on OS X (ticket #576). 2014-06-17 12:07:06 +04:00
conf MIME: added application/xspf+xml MIME type (ticket #479). 2014-03-06 10:51:08 +01:00
contrib Contrib: added vim to README. 2013-12-06 19:58:27 +04:00
docs nginx-1.7.2-RELEASE 2014-06-17 16:51:25 +04:00
misc Updated OpenSSL used for win32 builds. 2014-06-17 11:38:55 +04:00
src Entity tags: explicit flag to skip not modified filter. 2014-06-26 02:27:11 +04:00
.hgtags release-1.7.2 tag 2014-06-17 16:51:25 +04:00