From: Frederic Lecaille Date: Fri, 12 Jan 2024 15:23:55 +0000 (+0100) Subject: MINOR: quic-be: Build post handshake frames X-Git-Tag: v3.3-dev2~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e226a7cb797a9522b454d782e738689212109beb;p=thirdparty%2Fhaproxy.git 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. --- 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)) {