On Thu, 22 Jul 2004, Stas Bekman wrote:
John Williams wrote:
Small files were working ok, but large files where being truncated at about 270k (which is suspiciously close to the 256k "zero copy limit" I saw mentioned on [EMAIL PROTECTED]).
Interesting. What's the type of the bucket? Is that a file bucket? Try this code:
use APR::Brigade (); use APR::Bucket (); use APR::BucketType (); my $bb = $r->upload('file')->bb(); bb_dump($bb);
I don't have APR::BucketType on my system. It's pretty much stock Fedora Core 1. Apache-2.0.49, mod_perl-1.99_12, APR-0.9.4, and libapreq2-2.03_04.
Ah, sorry, it was added after 1.99_14 was released (i.e. in the current cvs). But it's fine now. I know what's going on, thanks to Joe.
-- __________________________________________________________________ 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
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html