From 94ad6ae8b9a0dd06bd1a6166d5cb6467ef29cf11 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 17 Aug 2010 19:50:51 -0600 Subject: [PATCH] Author: Alex Rousskov Bug 3012: deprecate sslBump and support ssl-bump spelling in http_port Also adds depricated support for sslbump spelling that was previously documented in squid.conf but not supported. --- src/cache_cf.cc | 6 +++++- src/cf.data.pre | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 3a7a2a4429..caf3aa23d5 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -3156,7 +3156,11 @@ parse_http_port_option(http_port_list * s, char *token) } else if (strncmp(token, "sslcontext=", 11) == 0) { safe_free(s->sslcontext); s->sslcontext = xstrdup(token + 11); - } else if (strcmp(token, "sslBump") == 0) { + } else if (strcasecmp(token, "sslBump") == 0) { + debugs(3, DBG_CRITICAL, "WARNING: '" << token << "' is deprecated " << + "in http_port. Use 'ssl-bump' instead."); + s->sslBump = 1; // accelerated when bumped, otherwise not + } else if (strcmp(token, "ssl-bump") == 0) { s->sslBump = 1; // accelerated when bumped, otherwise not #endif } else { diff --git a/src/cf.data.pre b/src/cf.data.pre index 3a4bc557d1..f743f26e23 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -1157,7 +1157,7 @@ DOC_START sporadically hang or never complete requests set disable-pmtu-discovery option to 'transparent'. - sslBump Intercept each CONNECT request matching ssl_bump ACL, + ssl-bump Intercept each CONNECT request matching ssl_bump ACL, establish secure connection with the client and with the server, decrypt HTTP messages as they pass through Squid, and treat them as unencrypted HTTP messages, -- 2.47.3