--------------------- PatchSet 11215 Date: 2007/02/01 12:53:58 Author: hno Branch: HEAD Tag: (none) Log: Fix http/0.9 response parser. Forgot to mark those responses as terminated by EOF. Members: src/http.c:1.422->1.423 Index: squid/src/http.c =================================================================== RCS file: /cvsroot/squid/squid/src/http.c,v retrieving revision 1.422 retrieving revision 1.423 diff -u -r1.422 -r1.423 --- squid/src/http.c 26 Jan 2007 01:22:06 -0000 1.422 +++ squid/src/http.c 1 Feb 2007 12:53:58 -0000 1.423 @@ -1,6 +1,6 @@ /* - * $Id: http.c,v 1.422 2007/01/26 01:22:06 hno Exp $ + * $Id: http.c,v 1.423 2007/02/01 12:53:58 hno Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -431,6 +431,7 @@ if (hdr_len > 4 && strncmp(httpState->reply_hdr.buf, "HTTP/", 5)) { debug(11, 3) ("httpProcessReplyHeader: Non-HTTP-compliant header: '%s'\n", httpState->reply_hdr.buf); httpState->reply_hdr_state += 2; + httpState->chunk_size = -1; /* Terminated by EOF */ memBufClean(&httpState->reply_hdr); httpBuildVersion(&reply->sline.version, 0, 9); reply->sline.status = HTTP_INVALID_HEADER;