Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(iroh-net): Improve how STUN probes are run #1642

Merged
merged 5 commits into from
Dec 4, 2023
Merged

Conversation

flub
Copy link
Contributor

@flub flub commented Oct 16, 2023

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

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

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.
@flub
Copy link
Contributor Author

flub commented Nov 29, 2023

Let's get this merged. Though I can't approve my own PR...

@flub
Copy link
Contributor Author

flub commented Dec 1, 2023

@dignifiedquire ping

@flub flub added this pull request to the merge queue Dec 4, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 4, 2023
@flub flub added this pull request to the merge queue Dec 4, 2023
Merged via the queue into main with commit b95eb86 Dec 4, 2023
15 checks passed
@flub flub deleted the flub/running-stun-probes branch December 4, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants