From 1fea4bd9a645808fafd5f14566b609580867333a Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Thu, 1 Mar 2018 20:01:25 -0800 Subject: [PATCH] prepare release --- Cargo.toml | 2 +- src/server/utils.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cf050ed6c..a5642e507 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web" -version = "0.4.0" +version = "0.4.1" authors = ["Nikolay Kim "] description = "Actix web is a small, pragmatic, extremely fast, web framework for Rust." readme = "README.md" diff --git a/src/server/utils.rs b/src/server/utils.rs index 79e0a11c5..5bb59521b 100644 --- a/src/server/utils.rs +++ b/src/server/utils.rs @@ -4,8 +4,8 @@ use futures::{Async, Poll}; use super::IoStream; -const LW_BUFFER_SIZE: usize = 4096; -const HW_BUFFER_SIZE: usize = 16_384; +const LW_BUFFER_SIZE: usize = 8192; +const HW_BUFFER_SIZE: usize = 32_768; pub fn read_from_io(io: &mut T, buf: &mut BytesMut) -> Poll {