mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-14 09:40:45 +00:00
[MAJOR] missing parenthesis prevented matching of cacheable cookies !
This commit is contained in:
parent
e3b3065877
commit
7476ec9876
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user