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.

example output of $buffer:
-----------------------------10584955605537183051571219386
Content-Disposition: form-data; name="some_form_field"

some_text
-----------------------------10584955605537183051571219386
Content-Disposition: form-data; name="some_file"; filename="some_image.jpg"
Content-Type: image/jpeg

Here i would expect the binary data, as it works fine under 1.99_09, but the rest of the content seems to be lost. Even following "normal" form fields are missing. No errors occur in the log.


It doesn't matter how long the content is, even very small files don't work. The $ENV{'CONTENT_LENGTH'} seems to be correct.

It's no matter if i use Apache 2.0.46, 2.0.47 or 2.0.48.

I've read about similar problems under CGI.pm, but i'm not sure if this also applies to my problem (as i don't use CGI.pm and it worked under 1.99_09).

If it's not something simple i've missed and you need further information - please let me know.


Thanks for your help, regards, Christian


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to