CC: | ashley.hindmarsh [...] bbc.co.uk |
Subject: | Failing with Net::HTTP |
Ref - RT#72580
"I just removed it in commit 208a2e384a176237. We'll se if anybody
complains."
It seems that it breaks pretty quickly if Net::SSL is required.
Sample code:
use Net::SSL;
$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS}="Net::SSL";
use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
my $res = $ua->get('https://foo.com/bar');
read failed: at
/home/ashley/ms5_lib_20111014/lib/perl5/Net/HTTP/Methods.pm line 256
at
/home/ashley/ms5_lib_20111014/lib/perl5/i686-linux-gnu-thread-multi/Net/SSL.pm
line 211
We can't switch to IO::Socket::SSL - it doesn't handle our PKCS certs,
or our proxy.