MINOR: cache: Always access the stream-int via the conn-stream

To be able to move the stream-interface from the stream to the conn-stream,
all access to the SI is done via the conn-stream. This patch is limited to
the cache part.
This commit is contained in:
Christopher Faulet 2021-12-23 13:40:08 +01:00
parent 436811f4a8
commit 7a58d79dd2

View File

@ -1812,7 +1812,7 @@ enum act_return http_action_req_cache_use(struct act_rule *rule, struct proxy *p
}
s->target = &http_cache_applet.obj_type;
if ((appctx = si_register_handler(&s->si[1], objt_applet(s->target)))) {
if ((appctx = si_register_handler(cs_si(s->csb), objt_applet(s->target)))) {
appctx->st0 = HTX_CACHE_INIT;
appctx->rule = rule;
appctx->ctx.cache.entry = res;