CGI.pm POST test

2003-10-31 Thread Geoffrey Young
hi all attached is a test that uses CGI.pm to parse large chunks of POST data. currently, it fails for me in tests 3-6, which corresponds to a recent discussion on modperl@ where a user was seeing only part of his POST data for largish chunks. granted, after discussing with stas, the problem i

[mp2] print efficiency

2003-10-31 Thread Stas Bekman
You learn a lot from looking at the low-level tracing. While looking at some problems with IO. I've traced the modules/cgiupload test and observed that it does too many read/write calls on a big file. So I've changed it to slurp the file at once and print it out in one go. While there were just

Re: CGI.pm POST test

2003-10-31 Thread Stas Bekman
Geoffrey Young wrote: hi all attached is a test that uses CGI.pm to parse large chunks of POST data. currently, it fails for me in tests 3-6, which corresponds to a recent discussion on modperl@ where a user was seeing only part of his POST data for largish chunks. granted, after discussing wi

Re: CGI.pm POST test

2003-10-31 Thread Geoffrey Young
Thanks Geoff! This test is indeed was missing, since cgiupload tested multipart POST, but not a plain POST. Now if you don't mind I've moved your proposed test to where all the CGI.pm tests are. There really no need to run it off registry. fine. Also I've s/BODY/BODY_ASSERT/ since if something