[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] hs-v2: Demote log warning to info when we don't have a consensus
commit 33c99cf56539a077723940f3ef4f1d54ddd5c5bc
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
Date: Fri Sep 14 12:04:01 2018 -0400
hs-v2: Demote log warning to info when we don't have a consensus
Fixes #27040
Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
changes/ticket27040 | 5 +++++
src/feature/rend/rendcommon.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/changes/ticket27040 b/changes/ticket27040
new file mode 100644
index 000000000..160556a76
--- /dev/null
+++ b/changes/ticket27040
@@ -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.
diff --git a/src/feature/rend/rendcommon.c b/src/feature/rend/rendcommon.c
index 8cb5fd91e..b48ba87cb 100644
--- a/src/feature/rend/rendcommon.c
+++ b/src/feature/rend/rendcommon.c
@@ -843,7 +843,7 @@ hid_serv_get_responsible_directories(smartlist_t *responsible_dirs,
int start, found, n_added = 0, i;
networkstatus_t *c = networkstatus_get_latest_consensus();
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.");
return -1;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits