Merge pull request #6383 from Icinga/bugfix/debug-console-sometimes-hangs-6184

HttpRequest#ParseBody(): indicate success on complete body
This commit is contained in:
Michael Friedrich 2018-06-18 16:43:40 +02:00 committed by GitHub
commit 352aca7339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)