mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-22 02:20:56 -04:00
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:
parent
a0db93f3d8
commit
e7f1db0348
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue