From: Christopher Faulet Date: Thu, 23 Dec 2021 12:40:08 +0000 (+0100) Subject: MINOR: cache: Always access the stream-int via the conn-stream X-Git-Tag: v2.6-dev2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a58d79dd263c99e40f66f9a3a2cd074dcb306f5;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/cache.c b/src/cache.c index b4918e7563..05f81e589e 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;