]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic-be: Build post handshake frames
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 12 Jan 2024 15:23:55 +0000 (16:23 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 11 Jun 2025 16:37:34 +0000 (18:37 +0200)
This action is not specific to listeners. A QUIC client also have to send
NEW_CONNECTION_ID frames.

src/quic_ssl.c

index c4c4f037adb856d5b0095385a77ed9e520b39370..3eef37ce13557c6a0acb91271c0b7a2d048f766b 100644 (file)
@@ -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)) {