Skip to content

Make TLS enabled proxy work (proxy URL https:// not http://)#89

Merged
oalders merged 1 commit intolibwww-perl:masterfrom
noxxi:master
Feb 23, 2026
Merged

Make TLS enabled proxy work (proxy URL https:// not http://)#89
oalders merged 1 commit intolibwww-perl:masterfrom
noxxi:master

Conversation

@noxxi
Copy link
Copy Markdown
Contributor

@noxxi noxxi commented Jan 4, 2026

The just released IO::Socket::SSL 2.096 allows stacking of TLS layers by using OpenSSL BIO, i.e. have an outer TLS session and inside it another TLS session (or even more). This makes it possible to solve libwww-perl/libwww-perl#417.
The (suprisingly small) change in this pull request works for me when using dumbproxy as upstream, both for http and https targets and both for http and https proxies. I did not extend the existing test t/https_proxy.t though.

stacked TLS layers newly introduced in IO::Socket::SSL 2.096
@oalders oalders merged commit acf6000 into libwww-perl:master Feb 23, 2026
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants