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

People
Owner: Nobody in particular
Requestors: crawler [...] cterra.ru
Cc:
AdminCc:

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



Subject: request/get hangs when Content-Length is '\d+ '
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 Methods.pm: 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