From: Amaury Denoyelle Date: Thu, 5 Jun 2025 13:27:49 +0000 (+0200) Subject: MINOR: quic: mark ctrl layer as ready on quic_connect_server() X-Git-Tag: v3.3-dev2~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7f1db03484fbfcfe13d16826598dbe90cd6a8e7;p=thirdparty%2Fhaproxy.git MINOR: quic: mark ctrl layer as ready on quic_connect_server() Use conn_ctrl_init() on the connection when quic_connect_server() succeeds. This is necessary so that the connection is considered as completely initialized. Without this, connect operation will be call again if connection is reused. --- diff --git a/src/proto_quic.c b/src/proto_quic.c index c2ec3a37b..f7a1e2492 100644 --- a/src/proto_quic.c +++ b/src/proto_quic.c @@ -431,6 +431,7 @@ int quic_connect_server(struct connection *conn, int flags) fd_insert(fd, qc, quic_conn_sock_fd_iocb, tgid, ti->ltid_bit); fd_want_recv(fd); + conn_ctrl_init(conn); return SF_ERR_NONE; /* connection is OK */ }