I ran into the same (or a similar) problem that Scott Beuker reported
with CGI.pm truncating POST content in an mp2 setup. In my case the POST
was truncated at around 7500 bytes. A check with tcpdump shows that the
entire POST is correctly sent to apache.
I started by upgrading CGI.pm to the latest release (3.01), but that
didn't fix it.
Looking through the archives I saw a patch posted by Stas. Here's my
version of that patch, that appears to fix that problem.
*** CGI.pm~ 2003-12-12 15:09:45.000000000 -0800
--- CGI.pm 2003-12-12 15:12:29.000000000 -0800
***************
*** 551,558 ****
}
if ($meth eq 'POST') {
! $self->read_from_client(\$query_string,$content_length,0)
! if $content_length > 0;
# Some people want to have their cake and eat it too!
# Uncomment this line to have the contents of the query string
# APPENDED to the POST data.
--- 551,565 ----
}
if ($meth eq 'POST') {
! if($content_length > 0) {
! my $len = $content_length;
! while ($len > 0) {
! my $data = '';
! my $read =
$self->read_from_client(\$data,$content_length,0);
! $len -= $read;
! $query_string .= $data if $read > 0;
! }
! }
# Some people want to have their cake and eat it too!
# Uncomment this line to have the contents of the query string
# APPENDED to the POST data.
Michael
--
Michael Peppler Data Migrations, Inc.
[EMAIL PROTECTED] http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html