Squid configuration manual

Reference manual for squid's configuraiton directives

View the Project on GitHub

Index Alphabetical Index

Option Name:

happy_eyeballs_connect_limit

Suggested Config:


Details:

This Happy Eyeballs (RFC 8305) tuning directive specifies the
maximum number of spare to-server connections (to any server; i.e.
across all concurrent master transactions in a Squid instance).
Each SMP worker gets an equal share of the total limit. However,
the workers do not share the actual connection counts yet, so one
(busier) worker cannot "borrow" spare connection slots from another
(less loaded) worker.

Setting this limit to zero disables concurrent use of primary and
spare TCP connections: Spare connection attempts are made only after
all primary attempts fail. However, Squid would still use the
DNS-related optimizations of the Happy Eyeballs approach.

This directive has similar trade-offs as happy_eyeballs_connect_gap,
but its focus is on limiting Squid overheads, while
happy_eyeballs_connect_gap focuses on the origin server and peer
overheads.

The following Happy Eyeballs directives place additional connection
opening restrictions: happy_eyeballs_connect_timeout and
happy_eyeballs_connect_gap. See the former for related terminology.
Index Alphabetical Index