From cbe090d42fb5df6ddbc11cf5fbff8d474e280d4c Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Wed, 19 Jan 2022 15:58:27 +0100 Subject: [PATCH] MINOR: quic: remove wait handshake/L6 flags on init connection The connection is allocated after finishing the QUIC handshake. Remove handshake/L6 flags when initializing the connection as handshake is finished with success at this stage. --- src/xprt_quic.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xprt_quic.c b/src/xprt_quic.c index b1ad14cc0..26e085f14 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -5466,9 +5466,6 @@ static int qc_conn_init(struct connection *conn, void **xprt_ctx) HA_ATOMIC_STORE(xprt_ctx, conn->qc->xprt_ctx); - /* Leave init state and start handshake */ - conn->flags |= CO_FL_SSL_WAIT_HS | CO_FL_WAIT_L6_CONN; - out: TRACE_LEAVE(QUIC_EV_CONN_NEW, qc);