We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cf88c commit 37fd336Copy full SHA for 37fd336
src/proto/streams/state.rs
@@ -431,6 +431,7 @@ impl State {
431
pub fn ensure_recv_open(&self) -> Result<bool, proto::Error> {
432
// TODO: Is this correct?
433
match self.inner {
434
+ Closed(Cause::Error(Error::Reset(_, Reason::CANCEL, _))) => Ok(false),
435
Closed(Cause::Error(ref e)) => Err(e.clone()),
436
Closed(Cause::ScheduledLibraryReset(reason)) => {
437
Err(proto::Error::library_go_away(reason))
0 commit comments