Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: smueller [...] cpan.org
Cc:
AdminCc:

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



Subject: LWP::Simple::mirror() returning a "500" for local errors.
LWP::Simple::mirror() returns a "500" status code if there was a local error. The one I observed was that the local file name length exceeded the filesystems path length limit. Pathological example: perl -MLWP::Simple -e 'print LWP::Simple::mirror("http://google.de/", "/tmp/".("x" x 10000))."\n";'
On Thu Oct 12 10:10:38 2006, SMUELLER wrote: Show quoted text
> LWP::Simple::mirror() returns a "500" status code if there was a local > error. The one I observed was that the local file name length exceeded > the filesystems path length limit. > > Pathological example: > > perl -MLWP::Simple -e 'print LWP::Simple::mirror("http://google.de/", > "/tmp/".("x" x 10000))."\n";'
This special case seems to be fixed now. With LWP 5.830 I get a long error message containing "...: File name too long". Regards, Slaven