connect_timeout

 < Day Day Up > 

connect_timeout

This directive tells Squid how long to wait when trying to connect to an origin server. After this amount of time, Squid gives up and tries another location or returns an error to the user . Your operating system's TCP implementation has its own connection timeout. If the TCP timeout occurs before connect_timeout , Squid creates a new TCP connection and tries again.

Syntax

 connect_timeout   time-specification   

Default

 connect_timeout 2 minutes 

Example

 connect_timeout 30 seconds 

Related

peer_connect_timeout , read_timeout , write_timeout , request_timeout , pconn_timeout , minimum_retry_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