[Catalyst] [patch] Wrong Content-Length value error -
Catalyst::Engine::CGI
Andy Grundman
andy at hybridized.org
Thu May 10 17:53:46 GMT 2007
On May 10, 2007, at 12:33 PM, Kazuma Shiraiwa wrote:
> Thanks for your attention.
> Sorry.My explanation was insufficient.
>
> CPU: Xeon2.6GHz
> OS: CentOS4 Server -x86_64 - upgrade CentOS4.4 for yum
> (Linux 2.6.9-42.0.3.ELsmp x86_64 GNU/Linux)
> Perl: v5.8.8 built for x86_64-linux
> WebServer: Apache/2.0.52
>
> It doesn't happen every POST.
> POST size is about 4096 byte over.
> It happen form style <form method="post">.
> It doesn't happen form style <form method="post"
> enctype="multipart/form-data"> up to now.
>
> I understand.
> read FILEHANDLE, SCALAR, LENGTH
> After it saves buffer to LENGTH, it returns.LENGTH is return size.
> sysread FILEHANDLE, SCALAR, LENGTH
> As soon as return buffer.LENGTH is max size.
>
> sysread return values, and read return value isn't same always.
> Is it a misunderstanding?
Well, all your test scripts seem to do is show that the chunks are
read in different sizes, this is perfectly normal. But the end
result is the same: all the bits get read and accounted for. I don't
see the problem here.
More information about the Catalyst
mailing list