reassign 606345 libwww-perl 5.836-1 retitle 606345 HTTP::Response::is_success returns true when content is incomplete thanks
On Wed, Dec 08, 2010 at 06:48:24PM +0300, Stanislav Maslovski wrote: > I am currently working on a bad wi-fi connection. When upating an > upstream tarball uscan reported a successful dowload, while the > download was actually terminated prematurely: > > % uscan --verbose > … > -- Downloading updated package gnuplot-4.4.2.tar.gz > -- Successfully downloaded updated package gnuplot-4.4.2.tar.gz > and symlinked gnuplot_4.4.2.orig.tar.gz to it > -- Scan finished > > % uupdate ../gnuplot_4.4.2.orig.tar.gz > New Release will be 4.4.2-1. > -- Untarring the new sourcecode archive ../gnuplot_4.4.2.orig.tar.gz > > gzip: stdin: unexpected end of file > tar: Child returned status 1 > tar: Error is not recoverable: exiting now > uupdate: can't unpack: tar zxf ../gnuplot_4.4.2.orig.tar.gz failed; > aborting... uscan uses LWP to perform the download and checks the response object's is_success method to determine whether the download was successful. If the download is corrupt and it isn't being signaled back to the caller into LWP, then that's a bug in LWP. Looks like it may be related to #548417. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@debian.org>
signature.asc
Description: Digital signature