From 2ceb818f8eca4b8aebd0a4f2b36a641c832d8819 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 31 Aug 2023 17:33:47 -0700 Subject: session: fix allocation of proxy fifos Fifos need to be synchronously allocated once a transport like tcp accepts a session. Since events are now delivered asynchronously, proxy apps must explicitly register a cb function that manages fifo allocation prior to being notified of connect event. Type: fix Fixes: 0242d30 Signed-off-by: Florin Coras Change-Id: I7df973b7014e53e0766ea2bdc61e9871160bc18b --- src/plugins/quic/quic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/quic') diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c index 61380b8048c..f94a0c8d879 100644 --- a/src/plugins/quic/quic.c +++ b/src/plugins/quic/quic.c @@ -1290,6 +1290,7 @@ quic_connect_stream (session_t * quic_session, session_endpoint_cfg_t * sep) stream_data->app_rx_data_len = 0; stream_data->app_tx_data_len = 0; stream_session->session_state = SESSION_STATE_READY; + stream_session->opaque = sep->opaque; /* For now we only reset streams. Cleanup will be triggered by timers */ if ((rv = app_worker_init_connected (app_wrk, stream_session))) -- cgit 1.2.3-korg