]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Update the streams transport parameters.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 18 Mar 2021 14:05:18 +0000 (15:05 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
Set the streams transport parameters which could not be initialized because they
were not available during initializations. Indeed, the streams transport parameters
are provided by the peer during the handshake.

src/ssl_sock.c

index a87d70b8957fed0f6fda525eaf06ba67349a5e81..b5da625fd24db98b690c101b41f52b768fb88804 100644 (file)
@@ -2464,6 +2464,8 @@ int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg)
                if (!quic_transport_params_store(conn->qc, 0, extension_data,
                                                 extension_data + extension_len))
                        goto abort;
+
+               quic_mux_transport_params_update(conn->qc->qcc);
        }
 #endif