Michael Peppler wrote:
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.

Yes, but you also need the latest mp2. There was a bug both in mp2 and CGI.pm.
Both fixed in the latest versions.



modperl-2.0/Changes:


=item 1.99_11 - November 10, 2003

[...]

rewrite $r->read() and perlio read functions to use the same function,
which completely satisfies the read request if possible, on the way
getting rid of get_client_block and its supporting functions which
have problems and will most likely will be removed from the httpd-API
in the future. Directly manipulate bucket brigades instead. [Stas]


__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com



-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Does modperl-1.0 also need to have its read functions rewritten in a similar way?


I ask because Apache::ASP and CGI.pm no longer work happily together since CGI.pm version 3.01. That is to say, the Apache::ASP example for demonstrating CGI-compatibility:
http://www.apache-asp.org/eg/source.asp?file=cgi.htm
never returns data entered into the form because CGI.pm's param() function always returns empty.


This is on a MandrakeLinux 10 Community system w/ the vendor's perl 5.8.3, apache 1.3.29, and modperl1.0.

Using CGI.pm version 2.99, 3.00, or 3.00 with the patch you suggested in this email:
http://marc.theaimsgroup.com/?l=apache-modperl&m=106763759526580&w=2
the Apache::ASP example functions as expected.


Using CGI.pm version 3.00 with the patch you suggested in this email:
http://marc.theaimsgroup.com/?l=apache-modperl&m=106790808129123&w=2
or the CPAN CGI.pm versions 3.01, 3.03, 3.04, the Apache::ASP example functions incorrectly in the way indicated above.


--
Scott Langley
[EMAIL PROTECTED]
Systems Administrator
Rural Network Services


--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to