Selaa lähdekoodia

fix #731: wss SetProxy

ithewei 7 kuukautta sitten
vanhempi
commit
88880c2635
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();
     }