Skip to content

Commit

Permalink
[libwebsockets] Use host name instead of address for proxy CONNECT re…
Browse files Browse the repository at this point in the history
…quest to allow TLS proxyed TLS connections
  • Loading branch information
c-jimenez committed Feb 6, 2025
1 parent 7c1ca5d commit f2e0833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3rdparty/libwebsockets/lib/core-net/client/connect4.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ lws_client_connect_4_established(struct lws *wsi, struct lws *wsi_piggyback,
if (wsi->a.vhost->http.http_proxy_port) {
const char *cpa;

cpa = lws_wsi_client_stash_item(wsi, CIS_ADDRESS,
cpa = lws_wsi_client_stash_item(wsi, CIS_HOST,
_WSI_TOKEN_CLIENT_PEER_ADDRESS);
if (!cpa)
goto failed;
Expand Down

0 comments on commit f2e0833

Please sign in to comment.