1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 18:44:35 +01: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

@ -1,6 +1,6 @@
[package]
name = "actix-http"
version = "0.2.3"
version = "0.2.4"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix http primitives"
readme = "README.md"

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();