From: Gunnar Beutner Date: Fri, 28 Aug 2015 08:03:26 +0000 (+0200) Subject: Fix incorrect HTTP encoding X-Git-Tag: v2.4.0~354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7a21c236104248df4259adc1303bf15532a5681;p=icinga2 Fix incorrect HTTP encoding refs #10024 --- diff --git a/lib/remote/httpresponse.cpp b/lib/remote/httpresponse.cpp index 649bcb8bd..a9af73bfd 100644 --- a/lib/remote/httpresponse.cpp +++ b/lib/remote/httpresponse.cpp @@ -72,9 +72,6 @@ void HttpResponse::WriteBody(const char *data, size_t count) { ASSERT(m_State == HttpResponseHeaders || m_State == HttpResponseBody); - if (count == 0) - return; - if (m_Request.ProtocolVersion == HttpVersion10) { if (!m_Body) m_Body = new FIFO();