286
287
PSC *callback = psstate->callback;
287
288
psstate->callback = NULL;
289
if (psstate->paths->size() < 1) {
290
debugs(44, DBG_IMPORTANT, "Failed to select source for '" << psstate->entry->url() << "'");
291
debugs(44, DBG_IMPORTANT, " always_direct = " << psstate->always_direct);
292
debugs(44, DBG_IMPORTANT, " never_direct = " << psstate->never_direct);
293
debugs(44, DBG_IMPORTANT, " timedout = " << psstate->ping.timedout);
295
debugs(44, 2, "Found sources for '" << psstate->entry->url() << "'");
296
debugs(44, 2, " always_direct = " << psstate->always_direct);
297
debugs(44, 2, " never_direct = " << psstate->never_direct);
290
debugs(44, 2, (psstate->paths->size()<1?"Failed to select source":"Found sources") << " for '" << psstate->url() << "'");
291
debugs(44, 2, " always_direct = " << psstate->always_direct);
292
debugs(44, 2, " never_direct = " << psstate->never_direct);
293
if (psstate->paths) {
298
294
for (size_t i = 0; i < psstate->paths->size(); ++i) {
299
295
if ((*psstate->paths)[i]->peerType == HIER_DIRECT)
300
296
debugs(44, 2, " DIRECT = " << (*psstate->paths)[i]);
306
302
debugs(44, 2, " cache_peer = " << (*psstate->paths)[i]);
308
debugs(44, 2, " timedout = " << psstate->ping.timedout);
305
debugs(44, 2, " timedout = " << psstate->ping.timedout);
311
307
psstate->ping.stop = current_time;
312
308
psstate->request->hier.ping = psstate->ping;