MINOR: quic: Increase the size of handshake RX UDP datagrams
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 22 Oct 2021 13:04:27 +0000 (15:04 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Oct 2021 13:48:19 +0000 (15:48 +0200)
commit46be7e92b424d4d55a63aacaaf736882560f6397
tree35987723c90e2932868f2dacc8d90a5305153c5d
parentdbb0bb59e3c14c1b231b6931b9609d7ae94e0a4f
MINOR: quic: Increase the size of handshake RX UDP datagrams

Some browsers may send Initial packets with sizes greater than 1252 bytes
(QUIC_INITIAL_IPV4_MTU). Let us increase this size limit up to 2048 bytes.
Also use this size for "max_udp_payload_size" transport parameter to limit
the size of the datagrams we want to receive.
include/haproxy/xprt_quic-t.h
src/xprt_quic.c