From 1e5e033ceeb3fbbc1b2d54fc480c1ae24fb03db7 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Wed, 8 Jan 2025 10:41:14 +0000 Subject: [PATCH] deploy: 4b3837d37d08a0ec4a57534822c8727b8ba6c77b --- pr/3105/docs/src/iroh_relay/server/clients.rs.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pr/3105/docs/src/iroh_relay/server/clients.rs.html b/pr/3105/docs/src/iroh_relay/server/clients.rs.html index 5e504f8a55..f5f3cafd30 100644 --- a/pr/3105/docs/src/iroh_relay/server/clients.rs.html +++ b/pr/3105/docs/src/iroh_relay/server/clients.rs.html @@ -255,7 +255,11 @@ 254 255 256 -257
//! The "Server" side of the client. Uses the `ClientConnManager`.
+257
+258
+259
+260
+261
//! The "Server" side of the client. Uses the `ClientConnManager`.
 // Based on tailscale/derp/derp_server.go
 
 use std::{
@@ -327,9 +331,13 @@
     /// to each client that peers has sent data to, to let them know that
     /// peer is gone from the network.
     ///
-    /// Explicitly drops the reference to the client to avoid deadlock.
+    /// Must be passed a matching connection_id.
     pub(super) async fn unregister<'a>(&self, connection_id: u64, node_id: NodeId) {
-        trace!(node_id = node_id.fmt_short(), "unregistering client");
+        trace!(
+            node_id = node_id.fmt_short(),
+            connection_id,
+            "unregistering client"
+        );
 
         if let Some((_, client)) = self
             .0