HttpRequest#ParseBody(): indicate success on complete body

refs #6184
This commit is contained in:
Alexander A. Klimov 2018-06-18 16:02:22 +02:00
parent eb1f37905d
commit a0fca599da
1 changed files with 3 additions and 3 deletions

View File

@ -142,9 +142,9 @@ bool HttpRequest::ParseBody(StreamReadContext& src, bool may_wait)
if (size == 0) { if (size == 0) {
CompleteBody = true; CompleteBody = true;
return false; }
} else
return true; return true;
} }
if (src.Eof) if (src.Eof)