fix(multiplexer): Handle bearer io error instead of panic (#118)

This commit is contained in:
Santiago Carmuega 2022-06-13 17:36:31 -03:00 committed by GitHub
parent 26da913ad9
commit e8ea9c5d7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ fn read_segment_with_timeout(reader: &mut impl Read) -> Result<Option<Segment>,
std::io::ErrorKind::WouldBlock => Ok(None),
std::io::ErrorKind::TimedOut => Ok(None),
std::io::ErrorKind::Interrupted => Ok(None),
_ => todo!(),
_ => Err(err),
},
}
}