You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by rr...@apache.org on 2020/07/20 18:27:19 UTC
[trafficserver] branch master updated: Fix typos relating to
tls_bridge (#7011)
This is an automated email from the ASF dual-hosted git repository.
rrm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f6f389f Fix typos relating to tls_bridge (#7011)
f6f389f is described below
commit f6f389f3c53d3a18877af5e737481429c51b06b1
Author: willwendorfvm <66...@users.noreply.github.com>
AuthorDate: Mon Jul 20 13:26:51 2020 -0500
Fix typos relating to tls_bridge (#7011)
---
doc/developer-guide/plugins/example-plugins/tls_bridge.en.rst | 2 +-
plugins/experimental/tls_bridge/tls_bridge.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/developer-guide/plugins/example-plugins/tls_bridge.en.rst b/doc/developer-guide/plugins/example-plugins/tls_bridge.en.rst
index d2bcbc3..adebd92 100644
--- a/doc/developer-guide/plugins/example-plugins/tls_bridge.en.rst
+++ b/doc/developer-guide/plugins/example-plugins/tls_bridge.en.rst
@@ -101,7 +101,7 @@ useful case.
If this is unsuitable then an identity remap rule can be added for the peer |TS|. If the peer
|TS| was named "peer.ats" and it listens on port 4443, then the remap rule would be ::
- remap https://peer.ats:4443 https://peer.ats:4443
+ map https://peer.ats:4443 https://peer.ats:4443
Remapping will be disabled for the user agent connection and so it will not need a rule.
diff --git a/plugins/experimental/tls_bridge/tls_bridge.cc b/plugins/experimental/tls_bridge/tls_bridge.cc
index 413b4aa..435af57 100644
--- a/plugins/experimental/tls_bridge/tls_bridge.cc
+++ b/plugins/experimental/tls_bridge/tls_bridge.cc
@@ -29,7 +29,7 @@ constexpr char const PLUGIN_NAME[] = "TLS Bridge";
constexpr char const PLUGIN_TAG[] = "tls_bridge";
// Base format string for making the internal CONNECT.
-char const CONNECT_FORMAT[] = "CONNECT https:%.*s HTTP/1.1\r\n\r\n";
+char const CONNECT_FORMAT[] = "CONNECT https://%.*s HTTP/1.1\r\n\r\n";
// TextView of the 'CONNECT' method string.
const TextView METHOD_CONNECT{TS_HTTP_METHOD_CONNECT, TS_HTTP_LEN_CONNECT};