MINOR: quic: Clarifications about transport parameters value
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 23 May 2022 16:29:39 +0000 (18:29 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 May 2022 07:59:26 +0000 (09:59 +0200)
commitaee675746cbbe5d6242e184728f4bd950a6573d4
tree9b5b64765dd6c082f88f9f404ec87e8d4f309950
parent26740985694e9890c69831f45fe98afc11a66c84
MINOR: quic: Clarifications about transport parameters value

This is becoming difficult to distinguish the default values for
transport parameters which come with the RFC from our implementation
default values when not set by configuration (tunable parameters).
Add a comment to distinguish them.
Prefix these default values by QUIC_TP_DFLT_ to distinguish them from
QUIC_DFLT_* value even if there are not numerous.
Furthermore ->max_udp_payload_size must be first initialized to
QUIC_TP_DFLT_MAX_UDP_PAYLOAD_SIZE especially for received value.
include/haproxy/quic_tp-t.h
src/haproxy.c
src/quic_tp.c