mirror of https://github.com/Icinga/icinga2.git
Fix incorrect return value
This commit is contained in:
parent
952e3616e5
commit
6400a300cd
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue