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.
This commit is contained in:
Amaury Denoyelle 2025-06-05 15:27:49 +02:00
parent a0db93f3d8
commit e7f1db0348

View File

@ -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 */
}