From 7a58d79dd263c99e40f66f9a3a2cd074dcb306f5 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 23 Dec 2021 13:40:08 +0100 Subject: [PATCH] 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. --- src/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache.c b/src/cache.c index b4918e756..05f81e589 100644 --- a/src/cache.c +++ b/src/cache.c @@ -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;