From: willy tarreau Date: Sun, 21 May 2006 14:24:15 +0000 (+0200) Subject: [MAJOR] missing parenthesis prevented matching of cacheable cookies ! X-Git-Tag: v1.2.14~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7476ec98769760794f3a32aa4b07619b1baf5d1e;p=thirdparty%2Fhaproxy.git [MAJOR] missing parenthesis prevented matching of cacheable cookies ! --- diff --git a/haproxy.c b/haproxy.c index 6a5df0343d..b2526ce03e 100644 --- a/haproxy.c +++ b/haproxy.c @@ -5739,7 +5739,7 @@ int process_srv(struct session *t) { * unless the response includes appropriate * Cache-Control or Expires header fields." */ - if (!t->flags & SN_POST && (t->proxy->options & PR_O_CHK_CACHE)) + if (!(t->flags & SN_POST) && (t->proxy->options & PR_O_CHK_CACHE)) t->flags |= SN_CACHEABLE | SN_CACHE_COOK; break; default: