From bd2e6ee812c0ce0248505fd0f9c76c913ed486fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan-=C8=98tefan=20Neac=C5=9Fu?= Date: Tue, 14 Oct 2025 12:12:16 +0300 Subject: [PATCH] Signal shutdown when gateway is considered unreachable --- common/client-core/src/client/mix_traffic/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/common/client-core/src/client/mix_traffic/mod.rs b/common/client-core/src/client/mix_traffic/mod.rs index 37f88ea66a..b7bd3767d3 100644 --- a/common/client-core/src/client/mix_traffic/mod.rs +++ b/common/client-core/src/client/mix_traffic/mod.rs @@ -155,6 +155,7 @@ impl MixTrafficController { error!("Failed to send sphinx packet to the gateway {MAX_FAILURE_COUNT} times in a row - assuming the gateway is dead"); // Do we need to handle the embedded mixnet client case // separately? + self.shutdown_token.cancel(); break; } }