mirror of
https://github.com/mozilla-firefox/firefox
synced 2026-08-11 12:19:28 +00:00
Update the vendored neqo crates to v0.30.1 and adapt neqo_glue to the API: - The slow start exit stats are now a single SlowStartExitStats struct, and SlowStartExitReason::CongestionEvent carries a CongestionTrigger. - Surface the new WebTransportEvent::Draining variant as a new WebTransportEventExternal::Draining FFI event. Http3Session ignores it for now, preserving the previous behavior. - The WebTransport and CONNECT-UDP client methods moved into ClientSession extension traits, and the server-side event and session types moved into the webtransport and connect_udp modules. neqo_glue and http3server are updated to import them from their new locations. Also bound the per-pass receive loop in neqo_http3conn_process_input to 50 MB so a misbehaving or malicious peer cannot make us buffer datagrams unboundedly. Nothing is lost when the cap is hit: buffered events are delivered to the upper layer right after, and the level-triggered poll re-fires RecvData to read the rest. Differential Revision: https://phabricator.services.mozilla.com/D309777