From e226a7cb797a9522b454d782e738689212109beb Mon Sep 17 00:00:00 2001 From: Frederic Lecaille Date: Fri, 12 Jan 2024 16:23:55 +0100 Subject: [PATCH] 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. --- src/quic_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quic_ssl.c b/src/quic_ssl.c index c4c4f037a..3eef37ce1 100644 --- a/src/quic_ssl.c +++ b/src/quic_ssl.c @@ -934,8 +934,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; + qc->flags |= QUIC_FL_CONN_NEED_POST_HANDSHAKE_FRMS; if (qc_is_listener(ctx->qc)) { - qc->flags |= QUIC_FL_CONN_NEED_POST_HANDSHAKE_FRMS; qc->state = QUIC_HS_ST_CONFIRMED; if (!(qc->flags & QUIC_FL_CONN_ACCEPT_REGISTERED)) {