I said:
> > The other place I'd like to avoid holding up my mod_perl processes is in
> > waiting for file uploads to finish (which is a common situation as people
> > upload attachments for their emails). Is there a any way to do this...
> > perhaps by using some kind of 'gateway' server?

Barrie Slaymaker wrote:
> The most often wished-for approach is for a http cache to accept the whole
> request before passing it through to the main httpd, but I'm not aware of
> any that do that.
> 
Exactly! If anyone is doing something similar to this could you direct me
to the code you use? The beauty of it would be that the upload (and other
CGI params) could be passed from the cache to the mod_perl server over
the fast internal network link (so the mod_perl process doesn't wait
long), while the slow upload from a user's modem only holds up a small
httpd process.

I guess this really should be a module written in C, since that would be
the smallest way of doing it memory-wise (I'd rule out a Perl CGI since
it has to be recompiled each time, and this gateway would presumably be
high volume).

How do proxy servers like Squid work? Do they just pass the packets on,
or do they accept the whole request and _then_ pass it on?

-- 
  Jeremy Howard
  [EMAIL PROTECTED]

Reply via email to