Quellcode durchsuchen

fix #731: wss SetProxy

ithewei vor 7 Monaten
Ursprung
Commit
88880c2635
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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();
     }