summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-14 11:45:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-14 11:45:38 +0000
commit1d6fcf371c0f490c6b9b2d2c271d99ad7af0a59f (patch)
treebf9a1bc2f283e08ed2bfc5d601bb8dd99fa4205e /src/modules/m_httpd.cpp
parent3b809f52adcdfc041d9fb1e6eb813af4ee082122 (diff)
Remember to change state when sending error 400
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5247 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd.cpp')
-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