mirror of
https://github.com/actix/actix-extras.git
synced 2025-08-30 02:59:20 +02:00
add HttpMessage::readlines()
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user