MINOR: quic: Missing active_connection_id_limit default value
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 3 Sep 2021 14:42:19 +0000 (16:42 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commit48fc74af646a4f393bb7fbcf364d1ef7f6e2de90
tree715b498f5e7a101c0e56c28fd60c8f936cbc493b
parentd4d6aa7b5c2623371e9ef4f68109127659536f88
MINOR: quic: Missing active_connection_id_limit default value

The peer transport parameter values were not initialized with
the default ones (when absent), especially the
"active_connection_id_limit" parameter with 2 as default value
when absent from received remote transport parameters. This
had as side effect to send too much NEW_CONNECTION_ID frames.
This was the case for curl which does not announce any
"active_connection_id_limit" parameter.
Also rename ->idle_timeout to ->max_idle_timeout to reflect the RFC9000.
include/haproxy/xprt_quic-t.h
include/haproxy/xprt_quic.h
src/xprt_quic.c