Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: efried [...] us.ibm.com
Cc:
AdminCc:

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



Subject: Partial download (e.g. due to full filesystem) "succeeds"
Download (untitled) / with headers
text/plain 636b
Downloading a file to a full filesystem "succeeds", but only part (if any) of the file is downloaded. The problem occurs under *at*least* the following: (From Perl) $lwp_ua->request($r, $filename) (From command line) lwp-download proto://server/file I'm using libwww-perl 5.69. Reproduced this behavior under AIX5.1/Perl5.6.0 and AIX5.3/Perl5.8.2. The problem occurs because the return code from print() is not being checked in *at*least* the following places: LWP/Protocol.pm line 230: print OUT $$content; lwp-download line 148: print FILE $_[0]; print() sets $!, which can be used to return or exit with a graceful failure.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.