mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Merge pull request #6383 from Icinga/bugfix/debug-console-sometimes-hangs-6184
HttpRequest#ParseBody(): indicate success on complete body
This commit is contained in:
commit
352aca7339
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user