On 15 Nov 2009, at 14:55, Bill Moseley wrote:
I see this error every once in a while. It does not seem like an aborted connection (I get a different error for that). Is there any other reason why the read() method might returning false before done.while ( my $buffer = $self->read($c) ) { $c->prepare_body_chunk($buffer); }I suppose if $buffer just happened to be zero. Probably should be checking defined there.
Yep, that should be fixed.
Could this message be updated to report the length of the body read, too? And maybe display the last X bytes of data read might be useful in some cases.
You haven't told us what the error actually is? Cheers t0m _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
