fix(multiplexer): Handle bearer io error instead of panic (#118)
This commit is contained in:
parent
26da913ad9
commit
e8ea9c5d7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue