Christian Wetzig wrote:
Hi,

the following worked fine under 1.99_09 in a perl module called from a simple mod_perl script (SetHandler perl-script, PerlHandler ModPerl::Registry):

> read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});

But after upgrading to 1.99_10, the content of $buffer stops after the header of the first content part which is a file.
[...]
It's a known problem. I'll commit a fix soonish (I need to do some extra testing and rewrites). Meanwhile please replace


- read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
+ $r->read($buffer, $ENV{'CONTENT_LENGTH'});

That should do the trick.

__________________________________________________________________
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



Reply via email to