[Bug 1210429] [NEW] Net::HTTP chunk handling broken for non-blocking sockets

Ove Risberg 1210429 at bugs.launchpad.net
Fri Aug 9 07:53:16 UTC 2013


Public bug reported:

When downloading data with LWP::UserAgent and using HTTPS for transport the data is truncated.
Sometimes you get the full file and sometimes you get only the beginning of the file so this is hard to debug.

If you use wget or curl to download the same data then you get the full
file.

After a day of debugging we managed to pinpoint the problem and after some googling we found this bug report:
https://rt.cpan.org/Public/Bug/Display.html?id=80670

And another bugreport for redhat:
https://bugzilla.redhat.com/show_bug.cgi?id=768394

I looks like libnet-http-perl version 6.01 is ok but the problem is in version 6.02
I have downloaded version 6.06 from cpan and now our perl script can download the file every time.

Please upgrade libnet-http-perl to version 6.06.

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

-- 
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/1210429

Title:
  Net::HTTP chunk handling broken for non-blocking sockets

Status in “libnet-http-perl” package in Ubuntu:
  New

Bug description:
  When downloading data with LWP::UserAgent and using HTTPS for transport the data is truncated.
  Sometimes you get the full file and sometimes you get only the beginning of the file so this is hard to debug.

  If you use wget or curl to download the same data then you get the
  full file.

  After a day of debugging we managed to pinpoint the problem and after some googling we found this bug report:
  https://rt.cpan.org/Public/Bug/Display.html?id=80670

  And another bugreport for redhat:
  https://bugzilla.redhat.com/show_bug.cgi?id=768394

  I looks like libnet-http-perl version 6.01 is ok but the problem is in version 6.02
  I have downloaded version 6.06 from cpan and now our perl script can download the file every time.

  Please upgrade libnet-http-perl to version 6.06.

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




More information about the foundations-bugs mailing list