]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/adaptation/History.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / adaptation / History.h
index ffe3198f455ae21e202f0cd98a42521d3654c377..1ef64e4cdf0d964a096fa5807664837489052169 100644 (file)
@@ -2,15 +2,15 @@
 #define SQUID_ADAPT_HISTORY_H
 
 #include "adaptation/DynamicGroupCfg.h"
-#include "Array.h"
+#include "base/RefCount.h"
+#include "base/Vector.h"
 #include "HttpHeader.h"
-#include "RefCount.h"
+#include "Notes.h"
 #include "SquidString.h"
 
 namespace Adaptation
 {
 
-
 /// collects information about adaptations related to a master transaction
 class History: public RefCountable
 {
@@ -51,6 +51,9 @@ public:
     HttpHeader lastMeta;
     /// All REQMOD and RESPMOD meta headers merged. Last field wins conflicts.
     HttpHeader allMeta;
+    /// key:value pairs set by adaptation_meta, to be added to
+    /// AccessLogEntry::notes when ALE becomes available
+    NotePairs::Pointer metaHeaders;
 
     /// sets future services for the Adaptation::AccessCheck to notice
     void setFutureServices(const DynamicGroupCfg &services);