[MAJOR] missing parenthesis prevented matching of cacheable cookies !

This commit is contained in:
willy tarreau 2006-05-21 16:24:15 +02:00
parent e3b3065877
commit 7476ec9876

View File

@ -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: