[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Problems with apache



Hi,

I experienced a problem with CGI in the apache-1.3.29-1 rpm available for Sparemint. CGI applications are not able to output more than 8166 bytes of content, 8291 bytes including headers.

This Perl script reproduces the problem:

#! /usr/bin/perl

use strict;

my $output = <<EOF;
Content-Type: text/plain

EOF

my $l = length $output;

while ($l < 100 * 1024) {
	$output .= sprintf '%x', ($l >> 8) & 0xf;
	++$l;
}

print $output;
__END__

Is this a known issue? Rewriting the thing in C instead of Perl does not change one thing here.

Ciao

Guido