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 | 7ca6a00cd3581e00686682af9010587028170cd5 (patch) | |
| tree | 986ea138b3606ee4c8cb16b9dd05b8c3a8c23fda /src/transport/paths.rs | |
| parent | 7c58f3d8bfa87cfbc6c89ae34780e81b5ff47e0d (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 |
