]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/Message.cc
Added Adaptation::Message that brings together the HttpMsg and the
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 8 May 2008 20:10:05 +0000 (14:10 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 8 May 2008 20:10:05 +0000 (14:10 -0600)
commitcb255235c5b7d6af6d6a7ccd3087988a05a6ff4d
tree60670df8096bedeeb2eacb71abf4cd05b5626c10
parentf1083abc34faedf3cfea5577f25c89bbd790dee5
Added Adaptation::Message that brings together the HttpMsg and the
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/Makefile.am
src/adaptation/Message.cc [new file with mode: 0644]
src/adaptation/Message.h [new file with mode: 0644]