mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 08:22:59 +01:00
add HttpMessage::readlines()
This commit is contained in:
parent
6c765739d0
commit
6d95e34552
@ -288,7 +288,7 @@ where
|
|||||||
fn new(req: T) -> Self {
|
fn new(req: T) -> Self {
|
||||||
Readlines {
|
Readlines {
|
||||||
req,
|
req,
|
||||||
buff: Vec::with_capacity(256),
|
buff: Vec::with_capacity(262_144),
|
||||||
limit: 262_144,
|
limit: 262_144,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user