peer_connect_timeout

 < Day Day Up > 

peer_connect_timeout

This is similar to connect_timeout , except that it applies to connections to your neighbors. Most likely, you'll want a smaller timeout for neighbor connections because they should be closer to you than most origin servers. If a neighbor is down, you want the connection to time out quickly so that you can try another source. Note that you can also specify individual neighbor timeouts with the connect-timeout option of the cache_peer directive.

Syntax

 peer_connect_timeout   time-specification   

Default

 peer_connect_timeout 30 seconds 

Example

 peer_connect_timeout 15 seconds 

Related

connect_timeout

 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net