mirror of
https://github.com/actix/actix-extras.git
synced 2025-09-02 04:56:38 +02:00
prepare release
This commit is contained in:
@@ -56,7 +56,7 @@ impl HttpResponseParser {
|
||||
return Ok(Async::Ready(msg));
|
||||
}
|
||||
Async::NotReady => {
|
||||
if buf.capacity() >= MAX_BUFFER_SIZE {
|
||||
if buf.len() >= MAX_BUFFER_SIZE {
|
||||
return Err(HttpResponseParserError::Error(
|
||||
ParseError::TooLarge,
|
||||
));
|
||||
|
Reference in New Issue
Block a user