mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
a bit more debug info
svn:r4119
This commit is contained in:
parent
5704c3f0e0
commit
4eb3cf9330
@ -136,7 +136,8 @@ static void purge_expired_resolves(uint32_t now) {
|
||||
*/
|
||||
while (oldest_cached_resolve && (oldest_cached_resolve->expire < now)) {
|
||||
resolve = oldest_cached_resolve;
|
||||
log(LOG_DEBUG,"Forgetting old cached resolve (expires %lu)", (unsigned long)resolve->expire);
|
||||
log(LOG_DEBUG,"Forgetting old cached resolve (address %s, expires %lu)",
|
||||
resolve->address, (unsigned long)resolve->expire);
|
||||
if (resolve->state == CACHE_STATE_PENDING) {
|
||||
log_fn(LOG_WARN,"Bug: Expiring a dns resolve ('%s') that's still pending. Forgot to cull it?", resolve->address);
|
||||
tor_fragile_assert();
|
||||
|
Loading…
Reference in New Issue
Block a user