1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-21 23:56:35 +00:00

add HttpMessage::readlines()

This commit is contained in:
Dursun Akkurt 2018-06-13 20:45:31 +03:00
parent 6c765739d0
commit 6d95e34552

View file

@ -288,7 +288,7 @@ where
fn new(req: T) -> Self {
Readlines {
req,
buff: Vec::with_capacity(256),
buff: Vec::with_capacity(262_144),
limit: 262_144,
}
}