/*
- * $Id: neighbors.cc,v 1.114 1997/02/19 17:09:03 wessels Exp $
+ * $Id: neighbors.cc,v 1.115 1997/02/19 23:53:24 wessels Exp $
*
* DEBUG: section 15 Neighbor Routines
* AUTHOR: Harvest Derived
if (e == NULL)
e = Peers.peers_head;
debug(15, 5, "neighborsUdpPing: Peer %s\n", e->host);
-
/* skip any cache where we failed to connect() w/in the last 60s */
if (squid_curtime - e->last_fail_time < 60)
continue;
-
if (!peerWouldBePinged(e, request))
continue; /* next peer */
if (e->options & NEIGHBOR_NO_QUERY)
if (e->type == PEER_SIBLING)
if (!BIT_TEST(request->flags, REQ_HIERARCHICAL))
continue;
-
debug(15, 4, "neighborsUdpPing: pinging peer %s for '%s'\n",
e->host, url);
if (e->type == PEER_MULTICAST)