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.
This commit is contained in:
Christopher Faulet 2021-12-23 13:39:38 +01:00
parent 5d3c8aa154
commit 436811f4a8

View File

@ -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++;