From a500ec144fae87ed444d80dac61243a00b3e4db5 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sat, 27 Apr 2013 22:15:21 -0500 Subject: [PATCH] allow proxies to work with secure websockets --- websocketpp/transport/asio/connection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocketpp/transport/asio/connection.hpp b/websocketpp/transport/asio/connection.hpp index b026df2029..a789921ff3 100644 --- a/websocketpp/transport/asio/connection.hpp +++ b/websocketpp/transport/asio/connection.hpp @@ -194,7 +194,7 @@ protected: // If no error, and we are an insecure connection with a proxy set // issue a proxy connect. - if (!is_secure() && !m_proxy.empty()) { + if (!m_proxy.empty()) { proxy_write(callback); } else { callback(ec);