[Bug 1057609] Re: HTTPS proxy support via Net::SSL is broken

Steve Langasek 1057609 at bugs.launchpad.net
Thu Oct 14 01:11:45 UTC 2021


The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: libnet-http-perl (Ubuntu Precise)
       Status: Triaged => Won't Fix

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

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

Status in libnet-http-perl package in Ubuntu:
  Fix Released
Status in libnet-http-perl source package in Precise:
  Won't Fix
Status in libnet-http-perl package in Debian:
  Fix Released

Bug description:
  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

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




More information about the foundations-bugs mailing list