Mercurial > hg > nginx-quic
comparison auto/cc/name @ 7117:dbd77a638eb7
Cache: fixed caching of intercepted errors (ticket #1382).
When caching intercepted errors, previous behaviour was to use
proxy_cache_valid times specified, regardless of various cache control
headers present in the response. Fix is to check u->cacheable and
use u->cache->valid_sec as set by various cache control response headers,
similar to how we do this in the normal caching code path.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 03 Oct 2017 18:19:27 +0300 |
parents | 78f8ac479735 |
children | 325b3042edd6 |
comparison
equal
deleted
inserted
replaced
7116:46ddff109e72 | 7117:dbd77a638eb7 |
---|