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

Bug #1210429 reported by Ove Risberg
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libnet-http-perl (Ubuntu)
Fix Released
Undecided
Unassigned

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.

Tags: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libnet-http-perl (Ubuntu):
status: New → Confirmed
Revision history for this message
Chad Wagner (chad-wagner) wrote :

Fixed in Debian wheezy. Bug # 674788.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Debian patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Florian Schlichting (fschlich) wrote :

The fix has landed in Ubuntu, thus closing this bug now

Changed in libnet-http-perl (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.