mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-08 09:42:06 +03:00
Add onStreamPreReaped.
Summary: This is potentially useful to an application to know when the underlying stream state has been freed by the transport. Reviewed By: jbeshay Differential Revision: D52048888 fbshipit-source-id: e7b2d33c3702ce8aa348459a37094198d16af60f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
62af5ab602
commit
9285422f2a
@@ -1743,6 +1743,7 @@ TEST_P(QuicTransportImplTestBase, CloseStreamAfterReadError) {
|
||||
transport->closeStream(stream1);
|
||||
|
||||
EXPECT_CALL(readCb1, readError(stream1, IsError(LocalErrorCode::NO_ERROR)));
|
||||
EXPECT_CALL(connCallback, onStreamStateReaped(stream1));
|
||||
transport->driveReadCallbacks();
|
||||
|
||||
EXPECT_FALSE(transport->transportConn->streamManager->streamExists(stream1));
|
||||
|
Reference in New Issue
Block a user