Merge remote-tracking branch 'dgoulet/ticket27040_035_01'

This commit is contained in:
Nick Mathewson 2018-09-14 12:54:13 -04:00
commit 6e940829cc
2 changed files with 6 additions and 1 deletions

5
changes/ticket27040 Normal file
View File

@ -0,0 +1,5 @@
o Minor bugfixes (hidden service v2):
- Demote a log warning to info in case we do not have a consensus when a
.onion request comes in. This can happen while bootstrapping for
instance. The request will follow through after so we really don't need
to warn the user loudly. Fixes bug 27040; bugfix on 0.2.8.2-alpha.

View File

@ -843,7 +843,7 @@ hid_serv_get_responsible_directories(smartlist_t *responsible_dirs,
int start, found, n_added = 0, i; int start, found, n_added = 0, i;
networkstatus_t *c = networkstatus_get_latest_consensus(); networkstatus_t *c = networkstatus_get_latest_consensus();
if (!c || !smartlist_len(c->routerstatus_list)) { if (!c || !smartlist_len(c->routerstatus_list)) {
log_warn(LD_REND, "We don't have a consensus, so we can't perform v2 " log_info(LD_REND, "We don't have a consensus, so we can't perform v2 "
"rendezvous operations."); "rendezvous operations.");
return -1; return -1;
} }