If we were having problems getting a particular descriptor from the
directory caches, and then we learned about a new descriptor for that router, we weren't resetting our failure count. Reported by lodger. svn:r13047
This commit is contained in:
parent
b5e04c92a9
commit
83ac50c2b2
|
@ -31,6 +31,10 @@ Changes in version 0.1.2.19 - 2008-01-??
|
|||
nonstandard integer types.
|
||||
- Don't try to create the datadir when running --verify-config or
|
||||
--hash-password. Resolves bug 540.
|
||||
- If we were having problems getting a particular descriptor from the
|
||||
directory caches, and then we learned about a new descriptor for
|
||||
that router, we weren't resetting our failure count. Reported
|
||||
by lodger.
|
||||
|
||||
|
||||
Changes in version 0.1.2.18 - 2007-10-28
|
||||
|
|
|
@ -3810,7 +3810,7 @@ routerstatus_list_update_from_networkstatus(time_t now)
|
|||
memcpy(&rs_out->status, most_recent, sizeof(routerstatus_t));
|
||||
/* Copy status info about this router, if we had any before. */
|
||||
if ((rs_old = router_get_combined_status_by_digest(lowest))) {
|
||||
if (!memcmp(rs_out->status.descriptor_digest,
|
||||
if (!memcmp(rs_old->status.descriptor_digest,
|
||||
most_recent->descriptor_digest, DIGEST_LEN)) {
|
||||
rs_out->n_download_failures = rs_old->n_download_failures;
|
||||
rs_out->next_attempt_at = rs_old->next_attempt_at;
|
||||
|
|
Loading…
Reference in New Issue