]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix missing bits of rev.12961
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 26 Jul 2013 11:26:04 +0000 (05:26 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 26 Jul 2013 11:26:04 +0000 (05:26 -0600)
src/cache_cf.cc
src/client_side.cc

index 218620a36282b65882bc1cc9ca6c97b0d636434b..82a7fe2363609a932a8295ef59db67df1af1dd8b 100644 (file)
@@ -3814,7 +3814,7 @@ parsePortCfg(AnyP::PortCfg ** head, const char *optionName)
     }
 
 #if USE_SSL
-    if (transport.protocol == AnyP::PROTO_HTTPS) {
+    if (s->transport.protocol == AnyP::PROTO_HTTPS) {
         /* ssl-bump on https_port configuration requires either tproxy or intercept, and vice versa */
         const bool hijacked = s->flags.isIntercepted();
         if (s->flags.tunnelSslBumping && !hijacked) {
index 39508e8ef63bd4f7bd39baa984b3d2590e4a2291..4f0f579e56c2b286dd37eb3d0a744152afc305ca 100644 (file)
@@ -4089,7 +4089,7 @@ clientHttpConnectionsOpen(void)
 
 #if USE_SSL
         if (s->flags.tunnelSslBumping && !Config.accessList.ssl_bump) {
-            debugs(33, DBG_IMPORTANT, "WARNING: No ssl_bump configured. Disabling ssl-bump on " << s->protocol << "_port " << s->s);
+            debugs(33, DBG_IMPORTANT, "WARNING: No ssl_bump configured. Disabling ssl-bump on " << URLScheme(s->transport.protocol) << "_port " << s->s);
             s->flags.tunnelSslBumping = false;
         }
 
@@ -4146,7 +4146,7 @@ clientHttpsConnectionsOpen(void)
 
         // TODO: merge with similar code in clientHttpConnectionsOpen()
         if (s->flags.tunnelSslBumping && !Config.accessList.ssl_bump) {
-            debugs(33, DBG_IMPORTANT, "WARNING: No ssl_bump configured. Disabling ssl-bump on " << s->protocol << "_port " << s->s);
+            debugs(33, DBG_IMPORTANT, "WARNING: No ssl_bump configured. Disabling ssl-bump on " << URLScheme(s->transport.protocol) << "_port " << s->s);
             s->flags.tunnelSslBumping = false;
         }