1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-02 13:29:24 +00: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();