Public bug reported:

Using an HTTPS proxy via Net::SSL (Crypt::SSLeay) is broken in Net::HTTP 6.02. 
Upstream fixed this in Net::HTTP 6.03; see 
https://rt.cpan.org/Public/Bug/Display.html?id=72790 for details.
Any chance that we can get this fix into precise? This bug breaks a lot of my 
perl code after upgrading from 10.04 to 12.04.


You can also use the attached ssl.pl to reproduce the problem(you'll need to 
modify the HTTPS_PROXY variable). It produces the following error on a stock 
12.04 installation:

$VAR1 = 'read failed:  at /usr/local/share/perl/5.14.2/Net/HTTP/Methods.pm line 
256
 at /usr/lib/perl5/Net/SSL.pm line 210
        
Net::SSL::die_with_error(\'LWP::Protocol::https::Socket=GLOB(0x19e3a00)\', 
\'read failed\') called at /usr/lib/perl5/Net/SSL.pm line 223
        Net::SSL::read(\'LWP::Protocol::https::Socket=GLOB(0x19e3a00)\', \'\', 
1024, 0) called at /usr/local/share/perl/5.14.2/Net/HTTP/Methods.pm line 256
        
Net::HTTP::Methods::my_readline(\'LWP::Protocol::https::Socket=GLOB(0x19e3a00)\',
 \'Status\') called at /usr/local/share/perl/5.14.2/Net/HTTP/Methods.pm line 343
        
Net::HTTP::Methods::read_response_headers(\'LWP::Protocol::https::Socket=GLOB(0x19e3a00)\',
 \'laxed\', 1, \'junk_out\', \'ARRAY(0x1a01ad8)\') called at 
/usr/share/perl5/LWP/Protocol/http.pm line 378
        LWP::Protocol::http::request(\'LWP::Protocol::https=HASH(0x19c57f8)\', 
\'HTTP::Request=HASH(0x1948160)\', undef, undef, undef, 180) called at 
/usr/share/perl5/LWP/UserAgent.pm line 192
        eval {...} called at /usr/share/perl5/LWP/UserAgent.pm line 191
        LWP::UserAgent::send_request(\'LWP::UserAgent=HASH(0x12a6c90)\', 
\'HTTP::Request=HASH(0x1948160)\', undef, undef) called at 
/usr/share/perl5/LWP/UserAgent.pm line 274
        LWP::UserAgent::simple_request(\'LWP::UserAgent=HASH(0x12a6c90)\', 
\'HTTP::Request=HASH(0x1948160)\', undef, undef) called at 
/usr/share/perl5/LWP/UserAgent.pm line 282
        LWP::UserAgent::request(\'LWP::UserAgent=HASH(0x12a6c90)\', 
\'HTTP::Request=HASH(0x1948160)\') called at /usr/share/perl5/LWP/UserAgent.pm 
line 410
        LWP::UserAgent::get(\'LWP::UserAgent=HASH(0x12a6c90)\', 
\'https://10.8.142.7\') called at ./ssl.pl line 29

** Affects: libnet-http-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libnet-http-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1057609

Title:
  HTTPS proxy support via Net::SSL is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnet-http-perl/+bug/1057609/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~pkg-perl-maintainers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~pkg-perl-maintainers
More help   : https://help.launchpad.net/ListHelp

Reply via email to