--------------------- PatchSet 1657 Date: 2005/09/08 07:40:15 Author: rousskov Branch: squid3-icap Tag: squid3-icap_after_HttpMsg Log: - Use the newly added HttpMsg instead of a more specific HttpReply to hold primary HTTP message being piped. We should rename header to head, to reflect the fact that it contains the "first line" of an HTTP message in addition to HTTP headers. Members: src/MsgPipeData.h:1.1.2.9->1.1.2.10 Index: squid3/src/MsgPipeData.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Attic/MsgPipeData.h,v retrieving revision 1.1.2.9 retrieving revision 1.1.2.10 diff -u -r1.1.2.9 -r1.1.2.10 --- squid3/src/MsgPipeData.h 31 Aug 2005 20:03:39 -0000 1.1.2.9 +++ squid3/src/MsgPipeData.h 8 Sep 2005 07:40:15 -0000 1.1.2.10 @@ -1,6 +1,6 @@ /* - * $Id: MsgPipeData.h,v 1.1.2.9 2005/08/31 20:03:39 dwsquid Exp $ + * $Id: MsgPipeData.h,v 1.1.2.10 2005/09/08 07:40:15 rousskov Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -34,7 +34,7 @@ #ifndef SQUID_MSGPIPEDATA_H #define SQUID_MSGPIPEDATA_H -#include "HttpReply.h" +#include "HttpMsg.h" class MemBuf; @@ -63,11 +63,11 @@ }; public: - typedef HttpReply Header; + typedef HttpMsg Header; typedef MemBuf Body; // message being piped - Header *header; // parsed HTTP headers + Header *header; // parsed HTTP status/request line and headers Body *body; // a buffer for decoded HTTP body piping // HTTP request header for piped responses (the cause of the response)