You may not actually want these pages to run under mod_perl at all.  I've
decided that my big uploads & downloads will run under regular CGI, since I
don't want to tie up one of my precious mod_perl backend server children doing
something as long and dumb as transfering a file.  

Also, the user won't really see any important performance benefits from
mod_perl anyway, since the upload may take several minutes, and the overhead
saved by mod_perl is typically under a second.


[EMAIL PROTECTED] (Jesse Erlbaum) wrote:
>Hello Lincoln & Mod_Perl-ers!
>
>I have a REALLY WIERD bug for you, regarding UPLOADING FILES via MSIE 4.
>
>       Red Hat Secure Server 2.0
>       CGI.pm: 2.56
>       mod_perl 1.15
>
>
>Here's the problem:  Any application which receives uploaded files via a form
>freezes when the file exceeds ~1MB.  This ONLY happens when using MS Internet
>Explorer (Not NS Navigator) and ONLY happens when calling the Apache::Registry
>version of the application!  If I call a CGI version of the app, it works just
>fine!  
>
>This problem occurs in *ALL* applications which use uploads, so it is not
>application-specific.  It's not even programmer-specific, as different apps
>are written by different coders.
>
>Things I'm sure of:
>       * MOD_PERL is using the same CGI.pm as CGI-mode Perl
>       * $POST_MAX is set to -1 (No limit)
>
>I added some code to CGI.pm to send a running report of the number of bytes
>received during an upload, and I have confirmed that the upload is freezing
>after about 1 meg is received.
>
>
>ANY IDEAS?  I'm stumped!
>
>
>Much thanks!
>
>
>-Jesse-
>
>
>
>--
>
>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>  Jesse Erlbaum ....................... CTO
>  [EMAIL PROTECTED] ............. Vanguard Media
>  v: 212.242.5317 x115 ...... New York City
>+-+-+-+-+-+- http://www.vm.com/ +-+-+-+-+-+-+
>

  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum

Reply via email to