}
if (entry->lock_count == 0) {
+ // TODO: many entries are unlocked; why is this reported at level 1?
debugs(12, 1, "neighborsUdpAck: '" << storeKeyText(key) << "' has no locks");
neighborCountIgnored(p);
return;
}
if (e->lock_count == 0) {
+ // TODO: many entries are unlocked; why is this reported at level 1?
debugs(12, 1, "neighborsUdpAck: '" << storeKeyText(key) << "' has no locks");
neighborCountIgnored(p);
return;
list[i].url = url;
list[i].host = xstrdup(host);
+ // TODO: Use storeHas() or lock/unlock entry to avoid creating unlocked
+ // ones.
list[i].flags.cached = storeGetPublic(url, m) ? 1 : 0;
i++;
}