mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-30 06:22:00 +01: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
1fbe4932fc
commit
5df518788d
@ -4475,7 +4475,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…
x
Reference in New Issue
Block a user