Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: florz [...] florz.de
Cc:
AdminCc:

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



Subject: does not check whether the entity is complete
Date: Fri, 8 Jul 2011 03:28:59 +0200
To: bug-libwww-perl [...] rt.cpan.org
From: Florian Zumbiehl <florz [...] florz.de>
Download (untitled) / with headers
text/plain 962b
Hi, libwww does apparently not check whether the received entity body is complete. I only checked this using the simple get() with a chunked-encoded response where I let the sender close the connection prematurely, using version 5.836-1 from debian squeeze, and didn't dig into the code, so no clue what exactly is happening. get() gave me back the beginning of the body. I would expect get() to either give me the complete entity body that's named by the URI specified or undef if that's impossible to do, for whatever reason. Just giving back something else than what has been requested is pretty bad, with the exception maybe of responses that use Connection: close to delimit the end of the body, as there is no way to determine whether the body is complete in that case. Oh, and if you want me to read anything you write here, please send it to me directly by mail, experience shows that the bug tracker doesn't take care of that automatically. Florian


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.