mirror of
https://github.com/actix/actix-web.git
synced 2024-12-22 16:16:40 +00:00
prepare release
This commit is contained in:
parent
206c4e581a
commit
1fea4bd9a6
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "actix-web"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
description = "Actix web is a small, pragmatic, extremely fast, web framework for Rust."
|
||||
readme = "README.md"
|
||||
|
|
|
@ -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<T: IoStream>(io: &mut T, buf: &mut BytesMut) -> Poll<usize, io::Error> {
|
||||
|
|
Loading…
Reference in a new issue