Mercurial > hg > nginx
comparison src/core/ngx_cpuinfo.c @ 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 | d620f497c50f |
children | d286426eab1a |
comparison
equal
deleted
inserted
replaced
7116:46ddff109e72 | 7117:dbd77a638eb7 |
---|