commit | 42efffd7f66eab9a4da72a61c8c4f8d227d59d02 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Wed Dec 23 18:13:52 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 24 17:18:00 2020 +0100 |
tree | 1f0a437448a659efab296de4acf81a1d757a1019 | |
parent | 14df1e15260e5b39df73fb178c6b444f97097bfb [diff] |
MINOR: cache: Remove redundant test in http_action_req_cache_use The suppressed check is fully covered by the next one and can then be removed.
diff --git a/src/cache.c b/src/cache.c index 101ef35..1f1428d 100644 --- a/src/cache.c +++ b/src/cache.c
@@ -1767,9 +1767,6 @@ if (!sha1_hosturi(s)) return ACT_RET_CONT; - if ((s->txn->flags & (TX_CACHE_IGNORE|TX_CACHEABLE)) == TX_CACHE_IGNORE) - return ACT_RET_CONT; - if (s->txn->flags & TX_CACHE_IGNORE) return ACT_RET_CONT;