From e7f1db03484fbfcfe13d16826598dbe90cd6a8e7 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 5 Jun 2025 15:27:49 +0200 Subject: [PATCH] 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. --- src/proto_quic.c | 1 + 1 file changed, 1 insertion(+) 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 */ }