[Catalyst] Request: Wrong Content-Length value: 2628941
Tomas Doran
bobtfish at bobtfish.net
Sun Nov 15 16:07:14 GMT 2009
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
More information about the Catalyst
mailing list