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
@ -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…
x
Reference in New Issue
Block a user