Remember to change state when sending error 400

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5247 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-09-14 11:45:38 +00:00
parent 3b809f52ad
commit 1d6fcf371c

View File

@ -222,6 +222,7 @@ class HttpSocket : public InspSocket
}
if (!postsize)
{
InternalState = HTTP_SERVE_SEND_DATA;
SendHeaders(0, 400, "");
}
else