diff options
| author | tv <tv@krebsco.de> | 2026-11-01 23:08:48 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 23:08:48 +0100 |
| commit | 8fc0bb43e15e9ffa99777e478162c101557d505b (patch) | |
| tree | a6a9e5ef95821b1539b7d28b873781e4e2e98633 /src/transport/paths.rs | |
| parent | bc8e3afcd3eeb567661aa39d9d4cd6da1c57b29c (diff) | |
probe when reachable
Diffstat (limited to 'src/transport/paths.rs')
| -rw-r--r-- | src/transport/paths.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/transport/paths.rs b/src/transport/paths.rs index ba8581f..164574d 100644 --- a/src/transport/paths.rs +++ b/src/transport/paths.rs @@ -708,6 +708,13 @@ impl Paths { } } + /// Each transport's (`Transport::on_reachable`). + pub(crate) fn on_reachable(&self, reachable: std::sync::Arc<tokio::sync::Notify>) { + for link in &self.links { + link.inner.on_reachable(reachable.clone()); + } + } + /// The address of the node a seed leads to, as paths keep it: an address of ours /// (`<scheme>:...`) whose transport reads it at once; with a scheme of ours, what /// that transport resolves the rest to (an address the transport can't read as an |
