From: Amaury Denoyelle Date: Wed, 19 Jan 2022 14:58:27 +0000 (+0100) Subject: MINOR: quic: remove wait handshake/L6 flags on init connection X-Git-Tag: v2.6-dev1~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbe090d42fb5df6ddbc11cf5fbff8d474e280d4c;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index b1ad14cc04..26e085f148 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);