|Subject:||Secure (HTTPS) requests through proxy does not work|
|Date:||Thu, 15 May 2014 18:04:54 +0000|
|To:||"bug-libwww-perl [...] rt.cpan.org" <bug-libwww-perl [...] rt.cpan.org>|
|From:||Maxime Therreault <maxime.therreault [...] fxinnovation.com>|
I use latest version (6.06) of library. When I and do secure HTTPS requests using a proxy, the specified proxy is simply not accessed. The connection is made directly to the destination. I think I found the bug in the code at line 145 of the file LWP/Protocol/http.pm. Instead of : my $ssl_tunnel = $proxy && $url->scheme eq 'https' We should have : my $ssl_tunnel = $proxy && $proxy->scheme eq 'https' Also I wonder how this "SSL tunnel" could work. Is this a feature under development? I don't see any implementation of the method '_upgrade_sock' (line 188). Thanks!