Merge branch 'maint-0.4.3' into release-0.4.3

This commit is contained in:
David Goulet 2020-07-02 07:20:58 -04:00
commit 9eedfefc3d
2 changed files with 9 additions and 1 deletions

4
changes/bug16016 Normal file
View File

@ -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.

View File

@ -1088,7 +1088,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;
}