Fix incorrect return value

This commit is contained in:
Gunnar Beutner 2018-02-28 10:50:33 +01:00
parent 952e3616e5
commit 6400a300cd
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ bool HttpRequest::ParseBody(StreamReadContext& src, bool may_wait)
/* we're done if the request doesn't contain a message body */
if (!Headers->Contains("content-length") && !Headers->Contains("transfer-encoding")) {
CompleteBody = true;
return false;
return true;
} else if (!m_Body)
m_Body = new FIFO();