allow proxies to work with secure websockets

This commit is contained in:
Peter Thorson
2013-04-27 22:15:21 -05:00
parent 5d71935441
commit a500ec144f

View File

@@ -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);