From 1d6fcf371c0f490c6b9b2d2c271d99ad7af0a59f Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Sep 2006 11:45:38 +0000 Subject: Remember to change state when sending error 400 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5247 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') 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 -- cgit v1.2.3