Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 57474 invoked from network); 22 Dec 2004 23:04:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Dec 2004 23:04:52 -0000 Received: (qmail 36808 invoked by uid 500); 22 Dec 2004 23:04:41 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 36787 invoked by uid 500); 22 Dec 2004 23:04:40 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 36773 invoked by uid 99); 22 Dec 2004 23:04:40 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Subject: CGI apps receiving incomplete POST parameters From: Kurt Newman Reply-To: knewman@globaldataguard.com To: modperl@perl.apache.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Hdv8Qn/iBMeVureTx2ik" Organization: Global DataGuard Date: Wed, 22 Dec 2004 17:04:35 -0600 Message-Id: <1103756675.29093.14.camel@grfx.globaldataguard.loc> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-Hdv8Qn/iBMeVureTx2ik Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've recently converted from Apache 1.3.x to Apache 2.0/mod_perl 1.99 on RedHat 9. The issue I'm having are for those applications that attempt to POST data (e.g. from a form) that are, for the most part, pretty large (e.g. 46kB). Unfortunately, with this newer version, the applications aren't receiving the full POST'd parameters. To best describe what I'm talking about, here are two examples. For each one, you'll see some version information along with a form that have 500 pre-checked boxes. (each has large value names to help increase the POST size). To test this, go to the very end of the form and click 'Submit Query'. Working (Apache 1.3.x using mod_perl 1.26): https://www.globaldataguard.net/perl/mycheckbox.cgi Broken (Apache 2.0.40 using mod_perl 1.99): https://www.globaldataguard.net:5043/perl/mycheckbox.cgi Each version will attempt to print out their entire parameter list using CGi.pm's Dump() subroutine. The "working" version will print out a complete paramter list, whereas the "broken" version arbitrarily lops off the data. To ensure that it wasn't some odd code behavior or even the web server, I took the same mycheckbox.cgi code and reconfigured the webserver to use mod_cgi (instead of mod_perl). When I do this, all works as intended (except for it not being under mod_perl of course). Thank you, Kurt --=-Hdv8Qn/iBMeVureTx2ik Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBByf2C0rcig5YkL7ERAtphAJ9Tc4omC13pBY7IuLWalCln7k/GkQCfdZe1 2w3QZ/uoX8MrVosfMlXAp5A= =9ysT -----END PGP SIGNATURE----- --=-Hdv8Qn/iBMeVureTx2ik--