From fnaumann@mail.cs.uni-magdeburg.de Mon Dec 15 17:07:21 2003 Date: Mon, 15 Dec 2003 16:54:10 +0100 From: Thomas Binder To: mint@fishpool.com Subject: Re: [MiNT] Problems with apache Message-ID: <20031215165410.A16628@pc272.hrzpub.tu-darmstadt.de> Reply-To: gryf@hrzpub.tu-darmstadt.de Mail-Followup-To: Thomas Binder , mint@fishpool.com References: <3FDA1179.6030800@imperia.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3FDA1179.6030800@imperia.net>; from guido@imperia.net on Fri, Dec 12, 2003 at 08:05:29PM +0100 X-TUD-HRZ-MailScanner: Found to be clean X-TUD-HRZ-MailScanner-SpamCheck: not spam, SpamAssassin (Wertung=-7.5, benoetigt 5, EMAIL_ATTRIBUTION -0.50, IN_REP_TO -0.50, PGP_SIGNATURE_2 -2.45, QUOTED_EMAIL_TEXT -0.48, REFERENCES -0.50, REPLY_WITH_QUOTES -0.50, USER_AGENT_MUTT -2.49) Delivered-To: mint@fishpool.com Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: gryf@hrzpub.tu-darmstadt.de Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! On Fri, Dec 12, 2003 at 08:05:29PM +0100, Guido Flohr wrote: > I experienced a problem with CGI in the apache-1.3.29-1 rpm available=20 > for Sparemint. CGI applications are not able to output more than 8166=20 > bytes of content, 8291 bytes including headers. >=20 > This Perl script reproduces the problem: >=20 > #! /usr/bin/perl >=20 > use strict; >=20 > my $output =3D < Content-Type: text/plain >=20 > EOF >=20 > my $l =3D length $output; >=20 > while ($l < 100 * 1024) { > $output .=3D sprintf '%x', ($l >> 8) & 0xf; > ++$l; > } >=20 > print $output; > __END__ Just to make sure it's not a pipe buffer issue: Does calling the script from the shell and piping its output to wc report the correct output size? Ciao Thomas --=20 Thomas Binder (Gryf @ IRCNet) gryf@hrzpub.tu-darmstadt.de PGP-key available on request! --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia iQB1AwUBP93ZIotnXqbpEtNBAQH53AMAyYAPvBtS3eiIRImeBG1/SEEcs+OpLyC3 P7zm571NE9HI5PJz0S2myAViydd4l6V9tBT1d+9tnKdDJ7a9XXOJ9qmyFot5CsQ9 +k4Y1CwpyiYCajeYaNkt6M6g2xiR02Sz =wvAp -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--