commit | 5df518788dc85f7449cd31f17b6bbed667828236 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Nov 25 16:20:08 2007 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 26 20:16:53 2007 +0100 |
tree | 675354938e14f14f991a27aa265c1cd3638f0a94 | |
parent | 1fbe4932fcdd1c7a85c844b5edc0a1aa191a6806 [diff] |
[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.
diff --git a/src/proto_http.c b/src/proto_http.c index 99bef1b..feed6cc 100644 --- a/src/proto_http.c +++ b/src/proto_http.c
@@ -4475,7 +4475,7 @@ 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.