]> git.kaiwu.me - nginx.git/commit
Cache: increased cache header Vary and ETag lengths to 128.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 10 Feb 2017 14:49:19 +0000 (17:49 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 10 Feb 2017 14:49:19 +0000 (17:49 +0300)
commit5544756296e5abaecb5f640753d6de939b701035
tree14ba903845ab24627a6432d73c562f4ac4a22102
parentb9a031622b7bf586a9c724dade16abfac188f2f2
Cache: increased cache header Vary and ETag lengths to 128.

This allows to store larger ETag values for proxy_cache_revalidate,
including ones generated as SHA256, and cache responses with longer
Vary (ticket #826).

In particular, this fixes caching of Amazon S3 responses with CORS
enabled, which now use "Vary: Origin, Access-Control-Request-Headers,
Access-Control-Request-Method".

Cache version bumped accordingly.
src/http/ngx_http_cache.h