commit | 7476ec98769760794f3a32aa4b07619b1baf5d1e | [log] [tgz] |
---|---|---|
author | willy tarreau <willy@wtap.(none)> | Sun May 21 16:24:15 2006 +0200 |
committer | willy tarreau <willy@wtap.(none)> | Sun May 21 16:24:15 2006 +0200 |
tree | 3cca8448a9bb7d8ca1d7fd06417b34d8e7a32d5d | |
parent | e3b3065877e4995844c36d4f7685bee4817072b2 [diff] |
[MAJOR] missing parenthesis prevented matching of cacheable cookies !
diff --git a/haproxy.c b/haproxy.c index 6a5df03..b2526ce 100644 --- a/haproxy.c +++ b/haproxy.c
@@ -5739,7 +5739,7 @@ * 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: