aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/quic/quic.c1
-rw-r--r--src/vnet/session/session.c2
2 files changed, 1 insertions, 2 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;
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index a60735d712c..05712181ab0 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1287,8 +1287,6 @@ session_dgram_accept (transport_connection_t * tc, u32 listener_index,
return rv;
}
- s->session_state = SESSION_STATE_READY;
-
return 0;
}