Skip to content

Commit

Permalink
multiple_members()
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Sep 23, 2024
1 parent 50c8cb2 commit 99f44c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deflate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ impl<T: Read + Write + Unpin + fmt::Debug> DeflateStream<T> {
pub(crate) fn new(stream: T) -> Self {
let (read_half, write_half) = tokio::io::split(stream);
let read_half = tokio::io::BufReader::new(read_half);
let decoder = DeflateDecoder::new(read_half);
let mut decoder = DeflateDecoder::new(read_half);
decoder.multiple_members(true);
let encoder = DeflateEncoder::new(write_half);
Self { decoder, encoder }
}
Expand Down

0 comments on commit 99f44c8

Please sign in to comment.