From a00d559eab86d23734b857f9cc24d3f764f31f70 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 9cea272ed..ca1e0b472 100644 --- a/src/quic_ssl.c +++ b/src/quic_ssl.c @@ -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; + 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)) {