]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Merge from trunk
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 28 Sep 2015 09:40:52 +0000 (02:40 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 28 Sep 2015 09:40:52 +0000 (02:40 -0700)
1  2 
src/AccessLogEntry.h
src/Makefile.am
src/acl/Acl.cc
src/acl/Acl.h
src/acl/Checklist.h
src/acl/FilledChecklist.h
src/cf.data.pre

Simple merge
diff --cc src/Makefile.am
Simple merge
diff --cc src/acl/Acl.cc
Simple merge
diff --cc src/acl/Acl.h
Simple merge
index fd1413f521afa82b8d094fd6b5e3222df205cfab,4ccbb4f0c780e9215c0625f9188e326c215be888..025e3a5e6ef9720e79d8233ca023dabfd85af151
@@@ -157,8 -163,18 +163,19 @@@ public
      // for ACL::checklistMatches to use
      virtual bool hasRequest() const = 0;
      virtual bool hasReply() const = 0;
 +    virtual bool hasAleXXX() const = 0;
  
+     /// change the current ACL list
+     /// \return a pointer to the old list value (may be nullptr)
+     const Acl::Tree *changeAcl(const Acl::Tree *t) {
+         const Acl::Tree *old = accessList;
+         if (t != accessList) {
+             cbdataReferenceDone(accessList);
+             accessList = cbdataReference(t);
+         }
+         return old;
+     }
  private:
      /// Calls non-blocking check callback with the answer and destroys self.
      void checkCallback(allow_t answer);
index 67a566f80aa2a9f4bf53d90a2f0426dc736b8aa5,8a3bbaf450fb7b2ea527a9764223ca947cdf2886..211fc5adbac6154167bd99fcb49ae781c167fdd9
@@@ -86,10 -85,10 +86,10 @@@ public
      /// SSL [certificate validation] errors, in undefined order
      Ssl::CertErrors *sslErrors;
      /// The peer certificate
-     Ssl::X509_Pointer serverCert;
+     Security::CertPointer serverCert;
  #endif
  
 -    AccessLogEntry::Pointer al; ///< info for the future access.log entry
 +    AccessLogEntry::Pointer al; ///< info for the future access.log, and external ACL
  
      ExternalACLEntryPointer extacl_entry;
  
diff --cc src/cf.data.pre
Simple merge