/*
- * $Id: HttpMsg.cc,v 1.21 2005/12/01 18:15:51 wessels Exp $
+ * $Id: HttpMsg.cc,v 1.22 2005/12/29 18:04:41 wessels Exp $
*
* DEBUG: section 74 HTTP Message
* AUTHOR: Alex Rousskov
return false;
}
- if (!sanityCheckStartLine(buf, error)) // redundant; could be remvoed
+ if (!sanityCheckStartLine(buf, error)) {
+ debugs(58,1, HERE << "first line of HTTP message is invalid");
+ *error = HTTP_INVALID_HEADER;
return false;
+ }
const int res = httpMsgParseStep(buf->content(), eof);