Name

test_reachability

Synopsis

When you enable this directive, Squid looks at its netdb database while processing ICP queries. If Squid normally returns ICP_MISS, but the origin server isn’t in the database or doesn’t respond to ICMP pings, it returns ICP_MISS_NOFETCH instead. The ICP_MISS_NOFETCH reply signals the neighbor cache that Squid might not be able to communicate with the origin server.

Syntax

test_reachability on|off

Default

test_reachability off

Example

test_reachability on

Related

pinger_program, query_icmp, netdb_ping_period

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.