mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 09:41:34 +00:00
Fix deflate test.
Skip over empty messages or else the socket may not be connected by the time `close` is called on it.
This commit is contained in:
@ -71,6 +71,7 @@ where
|
||||
}
|
||||
|
||||
/// Decodes and encodes traffic using DEFLATE.
|
||||
#[derive(Debug)]
|
||||
pub struct DeflateOutput<S> {
|
||||
/// Inner stream where we read compressed data from and write compressed data to.
|
||||
inner: S,
|
||||
|
Reference in New Issue
Block a user