]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added Adaptation::Message that brings together the HttpMsg and the
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 8 May 2008 20:16:36 +0000 (14:16 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 8 May 2008 20:16:36 +0000 (14:16 -0600)
corresponding body_pipe and handle HttpMsg locking.

TODO: This class should not be needed. HttpMsg already has body_pipe. In the
past, we could not use that pipe "as is" because some other code would steal
it from the message. Once such cases are removed and something like
HttpMsg::Pointer is added to handle locking, there will be no need for
Adaptation::Message.

TODO: ICAPInOut should be replaced with two Adaptation::Messages, one for the
virgin message (that often has a body) and one for the cause, even though the
ICAP cause does not need a body.

src/adaptation/forward.h

index 3c7ecb1b90ba76d30f215b53a964b4c905a6ba98..b26fcc9e0be551534d3f1cf72dc559b084ad99e8 100644 (file)
@@ -21,6 +21,7 @@ class Initiator;
 class AccessCheck;
 class AccessRule;
 class ServiceGroup;
+class Message;
 
 typedef RefCount<Service> ServicePointer;