From cdeeda9727a16ea0f76840b7a5cfad10b3ed8723 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 25 Nov 2007 16:20:08 +0100 Subject: [PATCH] [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. --- src/proto_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_http.c b/src/proto_http.c index a25f7b414..ab440d559 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -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. -- 2.47.3