Skip to content

Commit f2e0833

Browse files
committed
[libwebsockets] Use host name instead of address for proxy CONNECT request to allow TLS proxyed TLS connections
1 parent 7c1ca5d commit f2e0833

File tree

1 file changed

+1
-1
lines changed
  • 3rdparty/libwebsockets/lib/core-net/client

1 file changed

+1
-1
lines changed

3rdparty/libwebsockets/lib/core-net/client/connect4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ lws_client_connect_4_established(struct lws *wsi, struct lws *wsi_piggyback,
5757
if (wsi->a.vhost->http.http_proxy_port) {
5858
const char *cpa;
5959

60-
cpa = lws_wsi_client_stash_item(wsi, CIS_ADDRESS,
60+
cpa = lws_wsi_client_stash_item(wsi, CIS_HOST,
6161
_WSI_TOKEN_CLIENT_PEER_ADDRESS);
6262
if (!cpa)
6363
goto failed;

0 commit comments

Comments
 (0)