1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-24 04:01:07 +03:00
Files
mvfst/quic/server/test/ServerStateMachineTest.cpp
Joseph Beshay 625b7e252a Fix the default active connection id limit when the peer doesn't send the transport parameter
Summary:
When the client doesn't send the active_connection_id_limit transport parameter, the server was wrongly defaulting to 5 instead of 2.
(https://datatracker.ietf.org/doc/html/rfc9000#section-18.2-6.2.1)

This was uncovered by https://github.com/curl/curl/issues/14043.

In that case, ngtcp2 does not send the transport parameter when its value is set to 2.

Reviewed By: hanidamlaj, meleshuk

Differential Revision: D59165736

fbshipit-source-id: e44507550b2d0eb4c97f1f7f9879bfdca4746526
2024-06-28 16:45:26 -07:00

16 KiB