Skip to content

Commit

Permalink
Revert "hack, otherwise decompression gets stuck"
Browse files Browse the repository at this point in the history
This reverts commit bc2f64c.
  • Loading branch information
link2xt committed Oct 6, 2024
1 parent bc2f64c commit 7c377ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/imap_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@ impl<R: Read + Write + Unpin> Stream for ImapStream<R> {
}
loop {
this.buffer.ensure_capacity(this.decode_needs)?;
this.buffer.ensure_capacity(64 * 1024)?; // FIXME: match the size needed for
// decompression
let buf = this.buffer.free_as_mut_slice();

// The buffer should have at least one byte free
Expand Down

0 comments on commit 7c377ca

Please sign in to comment.