Skip to content

Commit 88880c2

Browse files
committed
fix #731: wss SetProxy
1 parent 6a93cdf commit 88880c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/client/WebSocketClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int WebSocketClient::open(const char* _url, const http_headers& headers) {
5353

5454
// wss
5555
bool wss = strncmp(url.c_str(), "wss", 3) == 0;
56-
if (wss) {
56+
if (wss && !http_req_->IsProxy()) {
5757
withTLS();
5858
}
5959

0 commit comments

Comments
 (0)