]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/MasterXaction.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / MasterXaction.h
index d666106d78aa55057ac103d9f0b3eb1fa4a6ccee..cc8aeae5f905f6bdd882f63b43d22992f7d06e75 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -44,7 +44,7 @@ public:
     explicit MasterXaction(const XactionInitiator anInitiator) : initiator(anInitiator) {};
 
     /// transaction ID.
-    InstanceId<MasterXaction> id;
+    InstanceId<MasterXaction, uint64_t> id;
 
     /// the listening port which originated this transaction
     AnyP::PortCfgPointer squidPort;
@@ -55,6 +55,9 @@ public:
     /// the initiator of this transaction
     XactionInitiator initiator;
 
+    /// whether we are currently creating a CONNECT header (to be sent to peer)
+    bool generatingConnect = false;
+
     // TODO: add state from other Jobs in the transaction
 };