MINOR: quic-be: Build post handshake frames

This action is not specific to listeners. A QUIC client also have to send
NEW_CONNECTION_ID frames.
This commit is contained in:
Frederic Lecaille 2024-01-12 16:23:55 +01:00
parent 8890d4ae86
commit a00d559eab

View File

@ -957,8 +957,8 @@ static int qc_ssl_provide_quic_data(struct ncbuf *ncbuf,
/* I/O callback switch */
qc->wait_event.tasklet->process = quic_conn_app_io_cb;
if (qc_is_listener(ctx->qc)) {
qc->flags |= QUIC_FL_CONN_NEED_POST_HANDSHAKE_FRMS;
if (qc_is_listener(ctx->qc)) {
qc->state = QUIC_HS_ST_CONFIRMED;
if (!(qc->flags & QUIC_FL_CONN_ACCEPT_REGISTERED)) {