]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic: fix initialization for local/remote TPs
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 19 May 2022 14:45:37 +0000 (16:45 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 19 May 2022 15:40:09 +0000 (17:40 +0200)
commit0daef007e42a38bd1e79a69eb3f09c3a805346e0
tree99d1edb5bb80b22708f71fdda0f03398401aceae
parent3dde0d86dd4945a37d195a32578c707465851ede
BUG/MEDIUM: quic: fix initialization for local/remote TPs

The local and remote TPs were both processed through the same function
quic_transport_params_init(). This caused the remote TPs to be
overwritten with values configured for our local usage.

Change this by reserving quic_transport_params_init() only for our local
TPs. Remote TPs are simply initialized via
quic_dflt_transport_params_cpy().

This bug could result in a connection closed in error by the client due
to a violation of its TPs. For example, curl client closed the
connection after receiving too many CONNECTION_ID due to an invalid
active_connection_id value used.
include/haproxy/xprt_quic.h