Mercurial > hg > nginx
view auto/cc/acc @ 4176:2b5151a2300b
Fixed cache bypass caching of non-cacheable replies (ticket #21).
If cache was bypassed with proxy_cache_bypass, cache-controlling headers
(Cache-Control, Expires) wasn't considered and response was cached even
if it was actually non-cacheable.
Patch by John Ferlito.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 05 Oct 2011 10:14:21 +0000 |
parents | 417a087c9c4d |
children | d620f497c50f |
line wrap: on
line source
# Copyright (C) Igor Sysoev # aCC: HP ANSI C++ B3910B A.03.55.02 # C89 mode CFLAGS="$CFLAGS -Ae" CC_TEST_FLAGS="-Ae" PCRE_OPT="$PCRE_OPT -Ae" ZLIB_OPT="$ZLIB_OPT -Ae" MD5_OPT="$MD5_OPT -Ae"