diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-17 23:49:50 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-17 23:49:50 +0000 |
commit | aade1b920456b5c4b3a78198e6269fc0903a0402 (patch) | |
tree | 050007389bb7eb5470dfacce0ab64becb92d46e9 | |
parent | 97fb4287a7d8138637917fa20c7e677aa103201c (diff) | |
download | tor-aade1b920456b5c4b3a78198e6269fc0903a0402.tar tor-aade1b920456b5c4b3a78198e6269fc0903a0402.tar.gz |
r11844@catbus: nickm | 2007-02-17 16:53:42 -0500
Note a problematic warning.
svn:r9599
-rw-r--r-- | src/or/routerlist.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 8e08b72f2..dc3f85c94 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1909,6 +1909,14 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg, } else if (from_fetch) { /* Only check the descriptor digest against the network statuses when * we are receiving in response to a fetch. */ + /* XXXX012 This warning seems to happen fairly regularly when we download + * router information based on an old networkstatus, then discard the + * networkstatus between requesting the routers and getting the reply. + * That's no good at all. I think we should switch to a behavior where we + * don't download a descriptor unless it's in a _recent_ networkstatus; + * also, we should drop this warning in (hopefully less likely) case where + * we decide we don't want a descriptor after we start downloading + * it. -NM */ if (!signed_desc_digest_is_recognized(&router->cache_info)) { log_warn(LD_DIR, "Dropping unrecognized descriptor for router '%s'", router->nickname); @@ -1992,7 +2000,7 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg, } } - /* We haven't seen a router with this name before. Add it to the end of + /* We haven't seen a router with this idntity before. Add it to the end of * the list. */ routerlist_insert(routerlist, router); if (!from_cache) |