Work-around for bug in HTTP analyzer.

See #488 for more information.
This commit is contained in:
Robin Sommer 2011-06-30 22:44:09 -07:00
parent b57624aabf
commit 27aa30c683

View file

@ -88,7 +88,9 @@ void HTTP_Entity::Deliver(int len, const char* data, int trailing_CRLF)
if ( in_header )
{
ASSERT(trailing_CRLF);
if ( ! trailing_CRLF )
http_message->MyHTTP_Analyzer()->Weird("no_http_in_header_list");
header_length += len;
MIME_Entity::Deliver(len, data, trailing_CRLF);
return;