mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-13 06:02:49 -04:00
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.
This commit is contained in:
parent
14df1e1526
commit
42efffd7f6
1 changed files with 0 additions and 3 deletions
|
|
@ -1767,9 +1767,6 @@ enum act_return http_action_req_cache_use(struct act_rule *rule, struct proxy *p
|
|||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue