From a0fca599da58e7fd045c094b3293a19aa4cfc332 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 18 Jun 2018 16:02:22 +0200 Subject: [PATCH] HttpRequest#ParseBody(): indicate success on complete body refs #6184 --- lib/remote/httprequest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/remote/httprequest.cpp b/lib/remote/httprequest.cpp index f698b2101..8f6c11e31 100644 --- a/lib/remote/httprequest.cpp +++ b/lib/remote/httprequest.cpp @@ -142,9 +142,9 @@ bool HttpRequest::ParseBody(StreamReadContext& src, bool may_wait) if (size == 0) { CompleteBody = true; - return false; - } else - return true; + } + + return true; } if (src.Eof) -- 2.40.0