From 5df518788dc85f7449cd31f17b6bbed667828236 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 99bef1b2c..feed6ccf0 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -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.