From: Christopher Faulet Date: Thu, 23 Dec 2021 12:39:38 +0000 (+0100) Subject: MINOR: hlua: Always access the stream-int via the conn-stream X-Git-Tag: v2.6-dev2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=436811f4a83163d1a04d2b5a0dae9d753372613f;p=thirdparty%2Fhaproxy.git MINOR: hlua: 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 hlua part. --- diff --git a/src/hlua.c b/src/hlua.c index cc7a585965..a6cc839eb3 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -2794,8 +2794,8 @@ __LJMP static int hlua_socket_connect(struct lua_State *L) /* inform the stream that we want to be notified whenever the * connection completes. */ - si_cant_get(&s->si[0]); - si_rx_endp_more(&s->si[0]); + si_cant_get(cs_si(s->csf)); + si_rx_endp_more(cs_si(s->csf)); appctx_wakeup(appctx); hlua->gc_count++;