diff options
author | David Goulet <dgoulet@torproject.org> | 2020-07-02 07:20:57 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-07-02 07:20:57 -0400 |
commit | efac047474246ee3d8511d423807cb8518a412a9 (patch) | |
tree | 2e7dd46f4292b9047dfe984eec614dec79fc4208 | |
parent | 34ca6b133710d3d2ac75debcbc4005585a2c2656 (diff) | |
parent | 39830b6408f8a720ce71ccb6b853663c6e6047e9 (diff) | |
download | tor-efac047474246ee3d8511d423807cb8518a412a9.tar.gz tor-efac047474246ee3d8511d423807cb8518a412a9.zip |
Merge branch 'maint-0.3.5' into release-0.3.5
-rw-r--r-- | changes/bug16016 | 4 | ||||
-rw-r--r-- | src/feature/nodelist/routerlist.c | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/changes/bug16016 b/changes/bug16016 new file mode 100644 index 0000000000..313ef672e9 --- /dev/null +++ b/changes/bug16016 @@ -0,0 +1,4 @@ + o Minor bugfixes (logging): + - Downgrade a noisy log message that could occur naturally when + receiving an extrainfo document that we no longer want. + Fixes bug 16016; bugfix on 0.2.6.3-alpha. diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c index e48675aada..c7fa868929 100644 --- a/src/feature/nodelist/routerlist.c +++ b/src/feature/nodelist/routerlist.c @@ -1087,7 +1087,11 @@ extrainfo_insert,(routerlist_t *rl, extrainfo_t *ei, int warn_if_incompatible)) * This just won't work. */; static ratelim_t no_sd_ratelim = RATELIM_INIT(1800); r = ROUTER_BAD_EI; - log_fn_ratelim(&no_sd_ratelim, severity, LD_BUG, + /* This is a DEBUG because it can happen naturally, if we tried + * to add an extrainfo for which we no longer have the + * corresponding routerinfo. + */ + log_fn_ratelim(&no_sd_ratelim, LOG_DEBUG, LD_DIR, "No entry found in extrainfo map."); goto done; } |