Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 14344
Status: resolved
Priority: 0/
Queue: libwww-perl

Owner: Nobody in particular
Requestors: crawler [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: request/get hangs when Content-Length is '\d+ '
Download (untitled) / with headers
text/plain 756b
I'm using LWP to get data through Microsoft Proxy (bug found 1st time running ActivePerl binary distribution with string 'This is perl, v5.8.6 built for MSWin32-x86-multi-thread'). And when doing NTLM authentication (second stage) that Proxy returns 'Content-Length: 0 \r\n' string in HTTP header that hangs Net::HTTP::Methods::read_entity_body at line 483 because instead of number '0' it has a string '0 ' as a length of content. To fix this I've introduced changes at line 403 of There's a new line $bytes = int$content_length; instead of old one $bytes = $content_length; I'm not sure whether such header synta[ depends on proxy I have to get through or it's a usual MS Proxy feature... Hope it helps to someone. Cheers, Ilya

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to