]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix HTTPS ports not initialized properly after rev.14148
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 15 Jul 2015 16:09:06 +0000 (09:09 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 15 Jul 2015 16:09:06 +0000 (09:09 -0700)
src/cache_cf.cc

index c68356f0afaa4bf0380e2869998a0143dea00643..5eafe104503847ef0550dd569b5028247866ff6a 100644 (file)
@@ -3669,6 +3669,7 @@ parsePortCfg(AnyP::PortCfgPointer *head, const char *optionName)
     }
 
     if (s->transport.protocol == AnyP::PROTO_HTTPS) {
+        s->secure.encryptTransport = true;
 #if USE_OPENSSL
         /* ssl-bump on https_port configuration requires either tproxy or intercept, and vice versa */
         const bool hijacked = s->flags.isIntercepted();