mirror of https://github.com/Icinga/icinga2.git
parent
49fd5b582d
commit
d7a21c2361
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue