From 436811f4a83163d1a04d2b5a0dae9d753372613f Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 23 Dec 2021 13:39:38 +0100 Subject: [PATCH] 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. --- src/hlua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++; -- 2.47.3