mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 01:41:49 -04:00
[BUG] fix missing parenthesis in check_response_for_cacheability
Parenthesis were missed when code was moved to this function. This results in non-cacheable transactions not being ignored.
This commit is contained in:
parent
4d44142a0a
commit
cdeeda9727
1 changed files with 1 additions and 1 deletions
|
|
@ -4481,7 +4481,7 @@ void check_response_for_cacheability(struct session *t, struct buffer *rtr)
|
|||
char *cur_ptr, *cur_end, *cur_next;
|
||||
int cur_idx;
|
||||
|
||||
if (!txn->flags & TX_CACHEABLE)
|
||||
if (!(txn->flags & TX_CACHEABLE))
|
||||
return;
|
||||
|
||||
/* Iterate through the headers.
|
||||
|
|
|
|||
Loading…
Reference in a new issue