mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-02 21:30:25 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue