mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
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>
This commit is contained in:
parent
f0e3331f3c
commit
4633a93ca8
1 changed files with 3 additions and 1 deletions
|
@ -3079,7 +3079,9 @@ hs_service_intro_circ_has_closed(origin_circuit_t *circ)
|
||||||
|
|
||||||
get_objects_from_ident(circ->hs_ident, &service, &ip, &desc);
|
get_objects_from_ident(circ->hs_ident, &service, &ip, &desc);
|
||||||
if (service == NULL) {
|
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.",
|
"identity key %s on intro circuit %u.",
|
||||||
ed25519_fmt(&circ->hs_ident->identity_pk),
|
ed25519_fmt(&circ->hs_ident->identity_pk),
|
||||||
TO_CIRCUIT(circ)->n_circ_id);
|
TO_CIRCUIT(circ)->n_circ_id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue