summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorjxm <jiangxiaoming@outlook.com>2021-06-18 03:42:31 +0000
committerjxm <jiangxiaoming@outlook.com>2021-06-18 03:49:36 +0000
commit5de9772c14462b584ebae90017a69c2ef88e9073 (patch)
treeacdbcdd001b0680ab5971c881c124222ac6d5c02 /src/plugins
parentda78c5abc8a862d33ebd9b0e89ae781f1ea37532 (diff)
session: udp accept session state should be updated by app
Type: fix Signed-off-by: jxm <jiangxiaoming@outlook.com> Change-Id: I6fb2620e7076e1e38a2ab85a70febe614b079e67
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/quic/quic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index 63ff9847362..26f2216a3d8 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -1929,6 +1929,7 @@ quic_udp_session_accepted_callback (session_t * udp_session)
ctx->ckpair_index = lctx->ckpair_index;
quic_acquire_crypto_context (ctx);
udp_session->opaque = ctx_index;
+ udp_session->session_state = SESSION_STATE_READY;
/* TODO timeout to delete these if they never connect */
return 0;