]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/client_side_reply.cc
transaction_initiator ACL for detecting various unusual transactions
[thirdparty/squid.git] / src / client_side_reply.cc
index 767a43ac2530f628bf82b822765eb59b812e0266..359cf496c9f832c67e7535e73c176a32ea704b33 100644 (file)
@@ -2280,7 +2280,8 @@ clientReplyContext::createStoreEntry(const HttpRequestMethod& m, RequestFlags re
      */
 
     if (http->request == NULL) {
-        http->request = new HttpRequest(m, AnyP::PROTO_NONE, "http", null_string);
+        const MasterXaction::Pointer mx = new MasterXaction(XactionInitiator::initClient);
+        http->request = new HttpRequest(m, AnyP::PROTO_NONE, "http", null_string, mx);
         HTTPMSGLOCK(http->request);
     }