[Gllug] Apache Timeout

Tom Gilbert tom at linuxbrit.co.uk
Fri Jan 18 16:34:05 UTC 2002


* Jackson, Harry (HJackson at colt-telecom.com) wrote:
> > -----Original Message-----
> > From: Tom Gilbert [mailto:tom at linuxbrit.co.uk]
> > > 
> > > #
> > > # Timeout: The number of seconds before receives and sends time out.
> > > #
> > > Timeout 300
> > 
> > It's this one, but note that if your cgis take THAT long to run, any
> > sane browser will timeout way before this. Apache can't control timeouts
> > set in the browsers.
> > 
> > Create a status page with an autorefresh to tell the client 
> > his document is being prepared, then give it to him when you're
> > done, or even send him email telling him to come pick it up. 
> > 20 minutes is kindof stretching the HTTP model =D
> 
> On further investigation we have found that it can be set in the registry in
> the client machine. We also set the Timeout to 1 to see what happened but
> could not get it to send a timeout back which I thought was a bit odd. At
> least it is working now.

Try setting a timeout of 1, then writing a cgi which sleeps for 2
seconds, you should see a 408 error in the logs.

Tom.
-- 
   .^.    .-------------------------------------------------------.
   /V\    | Tom Gilbert, London, England | http://linuxbrit.co.uk |
 /(   )\  | Open Source/UNIX consultant  | tom at linuxbrit.co.uk    |
  ^^-^^   `-------------------------------------------------------'

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list