1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 06:57:43 +02:00

prepare release

This commit is contained in:
Nikolay Kim
2018-11-14 16:24:01 -08:00
parent 1ef0eed0bd
commit cd9901c928
3 changed files with 3 additions and 3 deletions

View File

@ -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,
));