mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02: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
|
* unless the response includes appropriate
|
||||||
* Cache-Control or Expires header fields."
|
* 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;
|
t->flags |= SN_CACHEABLE | SN_CACHE_COOK;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user