mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
If we stop knowing about a dirserver between request and answer, do not die.
svn:r5351
This commit is contained in:
parent
43c253958e
commit
b76f61ee66
@ -1601,7 +1601,8 @@ dir_networkstatus_download_failed(smartlist_t *failed)
|
|||||||
base16_decode(digest, DIGEST_LEN, fp, strlen(fp));
|
base16_decode(digest, DIGEST_LEN, fp, strlen(fp));
|
||||||
dir = router_get_trusteddirserver_by_digest(digest);
|
dir = router_get_trusteddirserver_by_digest(digest);
|
||||||
|
|
||||||
++dir->n_networkstatus_failures;
|
if (dir)
|
||||||
|
++dir->n_networkstatus_failures;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user