mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-27 03:41:14 +03:00
Reset is a unidirectional event
Summary: Sending a reset shouldn't affect read states. Receiving a reset shouldn't affect send states. Reviewed By: afrind Differential Revision: D15578287 fbshipit-source-id: 65c5e30666fd9e4c295317ba4c3e0653edbb78ff
This commit is contained in:
committed by
Facebook Github Bot
parent
fc0c10c830
commit
75ab1ce6d5
@@ -84,10 +84,10 @@ folly::Optional<PacketEvent> PacketRebuilder::rebuildFromPacket(
|
||||
notPureAck |= ret;
|
||||
return ret;
|
||||
}
|
||||
// If a stream is already Closed, or HalfClosedLocal, we should not
|
||||
// clone and resend this stream data. But should we abort the cloning
|
||||
// of this packet and move on to the next packet? I'm gonna err on the
|
||||
// aggressive side for now and call it success.
|
||||
// If a stream is already Closed, we should not clone and resend this
|
||||
// stream data. But should we abort the cloning of this packet and
|
||||
// move on to the next packet? I'm gonna err on the aggressive side
|
||||
// for now and call it success.
|
||||
return true;
|
||||
},
|
||||
[&](const WriteCryptoFrame& cryptoFrame) {
|
||||
|
||||
Reference in New Issue
Block a user