Leopard, Apache and CGI Uploads

[email protected]
Newsgroups perl.macosx
Message-ID <[email protected]>
I have a Perl file upload script I'd been using for years under Apache 1 in Tiger. I haven't 
modified it in ages. No mod_perl, just CGI.pm and the default Perl installation. It's always worked 
fine for files of any size (some as many as a gigabyte and taking more than an hour to upload), but 
since upgrading to Leopard, with its Apache2 nonsense, the script fails on large files -- anything 
over a megabyte -- with this being output to the browser:

"CGI.pm: Server closed socket during multipart read (client aborted?).".

This is the only error message logged, too. I've tested this with multiple clients on different 
operating systems and it's the same every time, unless the file's smaller than 1MB, in which case 
the script executes as it should. I added a debugging line to the upload hook that runs when I first 
create my CGI query object, and it reports the bytes increasing up to a point, after which it keeps 
logging these messages but the number of bytes stays static. It's never the exact same number but 
the files always seem to fail above 1 megabyte, with about 1.4 being the upper limit I've seen so far.

Any ideas? Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.