X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fadaptation%2Fecap%2FHost.cc;h=3f906c0d2836ed2fe8436b6fc2268b40f6f022d9;hb=5ceaee752b4a01c8a4fd8ab3071ce369a552d04e;hp=705651f08fa569777e952fc2d8f0f4983d192d77;hpb=a0924f71b189a7070b618d59ff11b51aac7da3a6;p=thirdparty%2Fsquid.git diff --git a/src/adaptation/ecap/Host.cc b/src/adaptation/ecap/Host.cc index 705651f08f..3f906c0d28 100644 --- a/src/adaptation/ecap/Host.cc +++ b/src/adaptation/ecap/Host.cc @@ -18,6 +18,7 @@ #include "base/TextException.h" #include "HttpReply.h" #include "HttpRequest.h" +#include "MasterXaction.h" const libecap::Name Adaptation::Ecap::protocolInternal("internal", libecap::Name::NextId()); const libecap::Name Adaptation::Ecap::protocolCacheObj("cache_object", libecap::Name::NextId()); @@ -162,7 +163,8 @@ Adaptation::Ecap::Host::closeDebug(std::ostream *debug) Adaptation::Ecap::Host::MessagePtr Adaptation::Ecap::Host::newRequest() const { - return MessagePtr(new Adaptation::Ecap::MessageRep(new HttpRequest)); + static const MasterXaction::Pointer mx = new MasterXaction(XactionInitiator::initAdaptationOrphan_); + return MessagePtr(new Adaptation::Ecap::MessageRep(new HttpRequest(mx))); } Adaptation::Ecap::Host::MessagePtr