You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
The idea of the probe plan is that first the STUN probes happen, if
those don't work we add the other probes. However when there are
multiple relay servers we accidentally started the subsequent probes
for all but the first relay server too late.
This makes sure to globally record when the last STUN probe was sent
and re-uses this value for all the relay servers which are probed.
## Breaking Changes
<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->
## Notes & open questions
Fixes#2444
See #2221 for flaky tests.
## Change checklist
- [x] Self-review.
- ~~[ ] Documentation updates if relevant.~~
- [x] Tests if relevant.
- ~~[ ] All breaking changes documented.~~
When you have a
RelayMap
with multiple relay servers the ICMP and HTTPS probes for the 2nd or higher servers are scheduled too late:https://github.com/n0-computer/iroh/blob/main/iroh-net/src/netcheck/reportgen/probes.rs#L237
For the 2nd, 3rd etc relay server this line results in probes being further out in the future than they need to be.
The text was updated successfully, but these errors were encountered: