-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(iroh-net): Improve how STUN probes are run (#1642)
## Description This improves the branches taken when stun probes need to be run: - If we don't have an appropriate socket, abort the entire probe set. - If we didn't send the probe fully, error. - In case of a plain send error: log it. ## Notes & open questions This is probably more how this code should look like. @dignifiedquire feel free to take this over and make any tweaks you feel like as I'm no supposed to distract myself with this... ;) ## Change checklist - [x] Self-review. - [x] Documentation updates if relevant. - [x] Tests if relevant. --------- Co-authored-by: dignifiedquire <me@dignifiedquire.com>
- Loading branch information
1 parent
57bb691
commit b95eb86
Showing
1 changed file
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters