Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

brianus

macrumors 6502
Original poster
Jun 17, 2005
401
0
I have a Perl upload script I'd been using for years under Apache 1 in Tiger. No mod_perl, just CGI.pm and the default Perl installation. It always worked fine for files of any size (some as many as a gigabyte), but since upgrading to Leopard, with its Apache2 nonsense, the script fails on large files (anything over a megabyte) with "CGI.pm: Server closed socket during multipart read (client aborted?).". I've tested this on multiple clients and it's the same every time. It appears to be uploading the full file (a 10MB file takes as long as I'd expect, a 350MB as long as I'd expect for that size, and so on) before it fails but an upload hook that I wrote indicates that the file continues to grow up to a point, then the number of bytes stays static after that. It's a different number every time, but the range has always been between 1 and 1.2 megs.

Is this a known problem? Any ideas?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.