CC: | yegg [...] alum.mit.edu |
Subject: | LWP::Useragent Fatal Error |
It quite simply dies when trying to retrieve: https://www.whatsyourriskscore.info
I'm not exactly sure what is going on, but I've traced it to line 206 of
http.pm:
# Since this just writes out the header block it should
almost
# always succeed to send the whole buffer in a single write
call.
my $n = $socket->syswrite($req_buf, length($req_buf));
That goes to SSL.pm and seems to fail or stop on this line:
$written = Net::SSLeay::write_partial( $ssl,$offset,$length,$$buffer );
Ex. to reproduce:
use LWP::UserAgent;
my $ua = new LWP::UserAgent();
my $request = HTTP::Request-
Show quoted text
>new('GET','https://www.whatsyourriskscore.info/');
my $response = $ua->request($request);
print 'CODE: ', $response->code, "\n";