Skip to content

fix(iroh): Don't cause re-stuns all the time in browsers #3234

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

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

matheus23
Copy link
Member

Description

  • Always return false in want_call_me_maybe in browsers, as we never actually want to send call me maybes, since there's no direct addresses we can put into these messages.
  • Fix the shutdown logging in magicsock. Redundant warning were printed on graceful shutdown, and one was skipped in non-graceful shutdown.

Notes & open questions

Closes #3232

Change checklist

  • Self-review.

Copy link

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3234/docs/iroh/

Last updated: 2025-03-17T08:23:52Z

Copy link

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: e570a23

@matheus23
Copy link
Member Author

Confirmed this fixes issues for who submitted #3232 and when testing personally.

@n0bot n0bot bot added this to iroh Mar 17, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Mar 17, 2025
@matheus23 matheus23 added this pull request to the merge queue Mar 17, 2025
Merged via the queue into main with commit ef3645e Mar 17, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in iroh Mar 17, 2025
@matheus23 matheus23 deleted the matheus23/fix-pings branch March 17, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

bug: browser wasm: extreme ping HTTP request spam, 3 req/s
2 participants