]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: remove wait handshake/L6 flags on init connection
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 19 Jan 2022 14:58:27 +0000 (15:58 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 26 Jan 2022 14:25:45 +0000 (15:25 +0100)
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

index b1ad14cc04feb2d758bd3c405798977570264948..26e085f148b3777ad879829415023f089d8a4af1 100644 (file)
@@ -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);