mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 17:17:06 +02: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
@ -1767,9 +1767,6 @@ enum act_return http_action_req_cache_use(struct act_rule *rule, struct proxy *p
|
|||||||
if (!sha1_hosturi(s))
|
if (!sha1_hosturi(s))
|
||||||
return ACT_RET_CONT;
|
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)
|
if (s->txn->flags & TX_CACHE_IGNORE)
|
||||||
return ACT_RET_CONT;
|
return ACT_RET_CONT;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user