Net::HTTP chunk handling broken for non-blocking sockets
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:/
And another bugreport for redhat:
https:/
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.
Status changed to 'Confirmed' because the bug affects multiple users.