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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.