aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-09 14:30:20 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-05 19:39:46 -0500
commit4633a93ca841c36e9c36ae31bc6745c47f85767e (patch)
treedff03c65604a911e3abe5b8522bcd8bcb3348d41
parentf0e3331f3ca44aa8eb806487be2e03a2e9e52567 (diff)
downloadtor-4633a93ca841c36e9c36ae31bc6745c47f85767e.tar.gz
tor-4633a93ca841c36e9c36ae31bc6745c47f85767e.zip
hs-v3: Downgrade warning log when an intro circuit has closed
When an intro circuit has closed, do not warn anymore when we can't find the service. It is possible to hit that condition if the service is removed before the circuits were fully closed. This happens in the case of deleting an ephemeral service. Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r--src/or/hs_service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/hs_service.c b/src/or/hs_service.c
index 944400a0e5..a659a126fc 100644
--- a/src/or/hs_service.c
+++ b/src/or/hs_service.c
@@ -3079,7 +3079,9 @@ hs_service_intro_circ_has_closed(origin_circuit_t *circ)
get_objects_from_ident(circ->hs_ident, &service, &ip, &desc);
if (service == NULL) {
- log_warn(LD_REND, "Unable to find any hidden service associated "
+ /* This is possible if the circuits are closed and the service is
+ * immediately deleted. */
+ log_info(LD_REND, "Unable to find any hidden service associated "
"identity key %s on intro circuit %u.",
ed25519_fmt(&circ->hs_ident->identity_pk),
TO_CIRCUIT(circ)->n_circ_id);