BUG/MINOR: quic: Dropped peer transport parameters
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 3 May 2022 13:55:17 +0000 (15:55 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 12 May 2022 13:26:10 +0000 (15:26 +0200)
commit5b988ebed1ebed47410de71bf87f919a4eba3319
tree56e77ba392cbe8f20cda113aafa2c77e6f83e624
parent8726d633d433e9937315b3a3b898706b1ebdf992
BUG/MINOR: quic: Dropped peer transport parameters

The call to quic_dflt_transport_params_cpy() is already first done by
quic_transport_params_init() which is a good thing. But this function was also
called each time we parsed a transport parameters with quic_transport_param_decode(),
re-initializing to default values some of them. The transport parameters concerned
by this bug are the following:
   - max_udp_payload_size
   - ack_delay_exponent
   - max_ack_delay
   - active_connection_id_limit
So, let's remove this call to quic_dflt_transport_params_cpy() which has nothing
to do here!
include/haproxy/xprt_quic.h