/*
- * $Id: HttpMsg.cc,v 1.19 2005/11/07 22:00:38 wessels Exp $
+ * $Id: HttpMsg.cc,v 1.20 2005/11/21 22:46:38 wessels Exp $
*
* DEBUG: section 74 HTTP Message
* AUTHOR: Alex Rousskov
pstate(psReadyToParseStartLine)
{}
-
HttpMsgParseState &operator++ (HttpMsgParseState &aState)
{
int tmp = (int)aState;
return aState;
}
-
/* find end of headers */
int
httpMsgIsolateHeaders(const char **parse_start, const char **blk_start, const char **blk_end)
return 1;
}
-
/* handy: resets and returns -1 */
int
HttpMsg::httpMsgParseError()
return -1;
}
-
-
/* returns true if connection should be "persistent"
* after processing this message */
int
httpMsgIsPersistent(HttpVersion const &http_ver, const HttpHeader * hdr)
{
-#if WHEN_SQUID_IS_NOT_HTTP1_1
+#if WHEN_SQUID_IS_HTTP1_1
if ((http_ver.major >= 1) && (http_ver.minor >= 1)) {
/*