Bläddra i källkod

fix #731: wss SetProxy

ithewei 7 månader sedan
förälder
incheckning
88880c2635
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      http/client/WebSocketClient.cpp

+ 1 - 1
http/client/WebSocketClient.cpp

@@ -53,7 +53,7 @@ int WebSocketClient::open(const char* _url, const http_headers& headers) {
 
     // wss
     bool wss = strncmp(url.c_str(), "wss", 3) == 0;
-    if (wss) {
+    if (wss && !http_req_->IsProxy()) {
         withTLS();
     }