mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +01:00
prepare release
This commit is contained in:
parent
206c4e581a
commit
1fea4bd9a6
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-web"
|
name = "actix-web"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix web is a small, pragmatic, extremely fast, web framework for Rust."
|
description = "Actix web is a small, pragmatic, extremely fast, web framework for Rust."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -4,8 +4,8 @@ use futures::{Async, Poll};
|
|||||||
|
|
||||||
use super::IoStream;
|
use super::IoStream;
|
||||||
|
|
||||||
const LW_BUFFER_SIZE: usize = 4096;
|
const LW_BUFFER_SIZE: usize = 8192;
|
||||||
const HW_BUFFER_SIZE: usize = 16_384;
|
const HW_BUFFER_SIZE: usize = 32_768;
|
||||||
|
|
||||||
|
|
||||||
pub fn read_from_io<T: IoStream>(io: &mut T, buf: &mut BytesMut) -> Poll<usize, io::Error> {
|
pub fn read_from_io<T: IoStream>(io: &mut T, buf: &mut BytesMut) -> Poll<usize, io::Error> {
|
||||||
|
Loading…
Reference in New Issue
Block a user