connect_timeout is supposed to take care of that. With the configuration
below the ERR_CONNECT_FAIL message should have been seen in 10 seconds
if the web server is not responding at all to TCP connects on port 80,
or immediately if it is refusing to accept connections.
If it accepts the connection but never sends back a reply then the
situation is a bit different. Not sure if we have a good timeout
variable for that case.
-- Henrik Nordstrom Squid Hacker Hillel Bilman wrote: > > Guru type question/s > > 1) I've got a http accelerator > I've set: > connect_timeout 1 seconds > minimum_retry_timeout 5 seconds --( won't let me set it less) > peer_connect_timeout 1 seconds -- ( I'm not sure if squid uses this > for http accelerators) > > If the web server goes down, which has just happened, it takes about 4 > to 5 minutes before I see the ERR_CONNECT_FAIL web page. How can I > speed this up? > > 2) If you replace the ERR_CONNECT_FAIL web page with the companies web > page, you still get at the bottom a line and under it: > > -------------------------------------------------------------------------------- > Generated Thu, 29 Jun 2000 22:06:59 GMT by solaris7 > (Squid/2.3.STABLE3) > > How can you remove the above text and line ? I can't seem to find > info on this anywhere. > > Thanks, any help appreciatedReceived on Thu Jun 29 2000 - 16:02:09 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:14 MST