1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

prepare actix-http release

This commit is contained in:
Nikolay Kim
2019-06-16 21:59:22 +06:00
parent 7c0f570845
commit d2b6502c7a
2 changed files with 1 additions and 2 deletions

View File

@ -123,7 +123,6 @@ impl<B: MessageBody> MessageBody for Encoder<B> {
Async::NotReady => return Ok(Async::NotReady),
Async::Ready(Some(chunk)) => {
if let Some(mut encoder) = self.encoder.take() {
self.encoded += chunk.len();
if chunk.len() < INPLACE {
encoder.write(&chunk)?;
let chunk = encoder.take();