Hi,

(Catalyst-Runtime-5.7007)
Wrong Content-Length value: 4387 at
/usr/lib/perl5/site_perl/5.8.8/Catalyst.pm line 1584

I worried because of this error.
I was using Catalyst::Engine::CGI.
(Xeon2.6GHz CentOS4.4-x86_64-smp Perl5.8.8-x86_64-linux)

in Catalyst::Engine::CGI
sub read_chunk { shift; shift; *STDIN->sysread(@_); }

I think that "*STDIN->read" is better.
(Because "sysread" has what doesn't return the expected value.)
So I wrote this patch.
Wrong Content-Length value error did not occur when this patch was applied.
Please use this patch when it is good.

--
Kazuma Shiraiwa

Attachment: Catalyst_Engine_CGI.patch
Description: Binary data

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to