hi,

I see that the new version of mod_perl has $r->read fixed now to read
exactly the given bytes.

$r->get_client_block however is still buggy. If for example I do the
following:

--------CUT--------
my $len = $r->headers_in->{'content-length'};
print "reported length is $len<br>";

my $buf;
$r->get_client_block( $buf, $len );
print "read length is: ".length($buf)."<br>";
--------CUT--------

... then I get extremely different values for the reported and the read
length.

This does _not_ happen on small amounts of data, I think the threshold is
somewhere near 7K of data pending to be read.

The example works perfect, if I use $r->read instead, so I am quite happy
with 1.99_08 ;-)

udo

Reply via email to