mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-10 21:22:20 +03:00
Summary: This diff: 1) introduces `EnumArray` - effectively an `std::array` indexed by an enum 2) changes loss times and `lastRetransmittablePacketSentTime` inside `LossState` to be an `EnumArray` indexed by `PacketNumberSpace` 3) makes the method `isHandshakeDone()` available for both client and server handshakes. 4) uses all those inputs to determine PTO timers in `earliestTimeAndSpace()` Reviewed By: yangchi Differential Revision: D19650864 fbshipit-source-id: d72e4a0cf61d2dcb76f0a7f4037c36a7c8156942
25 KiB
25 KiB