--------------------- PatchSet 3817 Date: 2006/10/03 03:50:29 Author: rousskov Branch: squid3-icap Tag: (none) Log: - Initialize pstate to psReadyToParseStartLine when initializing a message. (Tsantilas Christos ) Members: src/HttpReply.cc:1.21.4.14->1.21.4.15 src/HttpRequest.cc:1.16.4.10->1.16.4.11 Index: squid3/src/HttpReply.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/HttpReply.cc,v retrieving revision 1.21.4.14 retrieving revision 1.21.4.15 diff -u -r1.21.4.14 -r1.21.4.15 --- squid3/src/HttpReply.cc 29 Sep 2006 23:27:09 -0000 1.21.4.14 +++ squid3/src/HttpReply.cc 3 Oct 2006 03:50:29 -0000 1.21.4.15 @@ -1,6 +1,6 @@ /* - * $Id: HttpReply.cc,v 1.21.4.14 2006/09/29 23:27:09 dwsquid Exp $ + * $Id: HttpReply.cc,v 1.21.4.15 2006/10/03 03:50:29 rousskov Exp $ * * DEBUG: section 58 HTTP Reply (Response) * AUTHOR: Alex Rousskov @@ -94,6 +94,7 @@ httpBodyInit(&body); hdrCacheInit(); httpStatusLineInit(&sline); + pstate = psReadyToParseStartLine; do_clean = true; } Index: squid3/src/HttpRequest.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/HttpRequest.cc,v retrieving revision 1.16.4.10 retrieving revision 1.16.4.11 diff -u -r1.16.4.10 -r1.16.4.11 --- squid3/src/HttpRequest.cc 29 Sep 2006 23:27:09 -0000 1.16.4.10 +++ squid3/src/HttpRequest.cc 3 Oct 2006 03:50:29 -0000 1.16.4.11 @@ -1,6 +1,6 @@ /* - * $Id: HttpRequest.cc,v 1.16.4.10 2006/09/29 23:27:09 dwsquid Exp $ + * $Id: HttpRequest.cc,v 1.16.4.11 2006/10/03 03:50:29 rousskov Exp $ * * DEBUG: section 73 HTTP Request * AUTHOR: Duane Wessels @@ -96,6 +96,7 @@ extacl_user = null_string; extacl_passwd = null_string; extacl_log = null_string; + pstate = psReadyToParseStartLine; } void