--------------------- PatchSet 12018 Date: 2008/03/21 23:00:57 Author: hno Branch: SQUID_2_6 Tag: (none) Log: Bug #2278: Cache-Control: max-stale=0 forwarded wrongly as max-stale (without delta) not exacly what was indended by the requesting client.. max-stale=0 and max-stale is the exact opposite of each other. Members: src/HttpHdrCc.c:1.24->1.24.2.1 Index: squid/src/HttpHdrCc.c =================================================================== RCS file: /cvsroot/squid/squid/src/HttpHdrCc.c,v retrieving revision 1.24 retrieving revision 1.24.2.1 diff -u -r1.24 -r1.24.2.1 --- squid/src/HttpHdrCc.c 31 Dec 2006 14:52:51 -0000 1.24 +++ squid/src/HttpHdrCc.c 21 Mar 2008 23:00:57 -0000 1.24.2.1 @@ -1,6 +1,6 @@ /* - * $Id: HttpHdrCc.c,v 1.24 2006/12/31 14:52:51 hno Exp $ + * $Id: HttpHdrCc.c,v 1.24.2.1 2008/03/21 23:00:57 hno Exp $ * * DEBUG: section 65 HTTP Cache Control Header * AUTHOR: Alex Rousskov @@ -208,7 +208,7 @@ if (flag == CC_S_MAXAGE) packerPrintf(p, "=%d", (int) cc->s_maxage); - if (flag == CC_MAX_STALE && cc->max_stale > 0) + if (flag == CC_MAX_STALE && cc->max_stale >= 0) packerPrintf(p, "=%d", (int) cc->max_stale); pcount++;