mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Summary: Currnetly there isn't a way for apps to unregister a pending WriteCallbacks for a stream. resetStream() does that if the transport isn't in Closed state. This diff adds such support even if transport is already in Closed state. This solves the problem where app has a class that's both stream ReadCallback and stream WriteCallback and readError would kill the callback object itself. The new API gives such class a chance to remove itself from the transport. Reviewed By: mjoras Differential Revision: D20545067 fbshipit-source-id: 81d9f025310769aadef062711a49adc47a0639d0
92 KiB
92 KiB