1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-24 04:01:07 +03:00
Files
mvfst/quic/state/stream/test/StreamStateMachineTest.cpp
Aman Sharma a83a2c93fe Modify read state machine for reliable resets
Summary:
We should only transition the `recvState` to `Closed` once we receive all of the reliable data, otherwise we'll drop all incoming data for that stream. This can happen in one of the two cases:
* We get a reset stream frame, and the reliable size in that frame is such that we've received all of the reliable data.
* We get a read stream frame, and that puts us in a situation where we've received all of the reliable data.

Reviewed By: jbeshay

Differential Revision: D67658440

fbshipit-source-id: b37786c7720014f3598b3c8c0a88084b06c5261e
2025-01-15 15:27:08 -08:00

38 KiB