Squid: The Definitive Guide

 < Day Day Up > 

test_reachability

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 onoff

Default

test_reachability off

Example

test_reachability on

Related

pinger_program , query_icmp , netdb_ping_period

 < Day Day Up > 

Категории