From 6400a300cd900aa4b8d7f6427f0ba55903803506 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 28 Feb 2018 10:50:33 +0100 Subject: [PATCH] Fix incorrect return value --- lib/remote/httprequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/httprequest.cpp b/lib/remote/httprequest.cpp index 9e8f36c27..1f085c220 100644 --- a/lib/remote/httprequest.cpp +++ b/lib/remote/httprequest.cpp @@ -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();