Skip to content

Commit 7c377ca

Browse files
committed
Revert "hack, otherwise decompression gets stuck"
This reverts commit bc2f64c.
1 parent bc2f64c commit 7c377ca

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/imap_stream.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ impl<R: Read + Write + Unpin> Stream for ImapStream<R> {
273273
}
274274
loop {
275275
this.buffer.ensure_capacity(this.decode_needs)?;
276-
this.buffer.ensure_capacity(64 * 1024)?; // FIXME: match the size needed for
277-
// decompression
278276
let buf = this.buffer.free_as_mut_slice();
279277

280278
// The buffer should have at least one byte free

0 commit comments

Comments
 (0)