summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_httpd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index 8c4bedbd1..8bfe7c6fe 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -222,6 +222,7 @@ class HttpSocket : public InspSocket
}
if (!postsize)
{
+ InternalState = HTTP_SERVE_SEND_DATA;
SendHeaders(0, 400, "");
}
else