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
@ -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…
x
Reference in New Issue
Block a user