mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-22 10:30:34 -04:00
MINOR: cache: Use the <kip> value to check too big objects
When an object should be cache, to check if it is too big or not, the <kip> value is now used instead of the HTX extra field.
This commit is contained in:
parent
f1c659f3ae
commit
c0f5b19bc6
1 changed files with 1 additions and 1 deletions
|
|
@ -1270,7 +1270,7 @@ enum act_return http_action_store_cache(struct act_rule *rule, struct proxy *px,
|
|||
|
||||
/* Do not cache too big objects. */
|
||||
if ((msg->flags & HTTP_MSGF_CNT_LEN) && shctx->max_obj_size > 0 &&
|
||||
htx->data + htx->extra > shctx->max_obj_size)
|
||||
s->scb->sedesc->kip > shctx->max_obj_size)
|
||||
goto out;
|
||||
|
||||
/* Only a subset of headers are supported in our Vary implementation. If
|
||||
|
|
|
|||
Loading…
Reference in a new issue