From 7476ec98769760794f3a32aa4b07619b1baf5d1e Mon Sep 17 00:00:00 2001 From: willy tarreau Date: Sun, 21 May 2006 16:24:15 +0200 Subject: [PATCH] [MAJOR] missing parenthesis prevented matching of cacheable cookies ! --- haproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haproxy.c b/haproxy.c index 6a5df0343..b2526ce03 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: