]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/HttpReply.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / HttpReply.h
index 1fe8bebc5d867ba41282a112149a6ec8e34d1bb2..36418cf1a74fb5c43d0f02bf2c8cc97b67a188ed 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -112,6 +112,10 @@ public:
 
     virtual void hdrCacheInit();
 
+    /// whether our Date header value is smaller than theirs
+    /// \returns false if any information is missing
+    bool olderThan(const HttpReply *them) const;
+
 private:
     /** initialize */
     void init();