Skip to content

wgengine/magicsock: fix rebind debouncing - #17282

Merged
mikeodr merged 1 commit into
mainfrom
raggi/rebind-debounce
Sep 26, 2025
Merged

mikeodr merged 1 commit into
mainfrom
raggi/rebind-debounce

Conversation

@raggi

@raggi raggi commented Sep 25, 2025

Copy link
Copy Markdown
Member

On platforms that are causing EPIPE at a high frequency this is resulting in non-working connections, for example when Apple decides to forcefully close UDP sockets due to an unsoliced packet rejection in the firewall.

Too frequent rebinds cause a failure to solicit the endpoints triggering the rebinds, that would normally happen via CallMeMaybe.

Updates #14551
Updates tailscale/corp#25648

On platforms that are causing EPIPE at a high frequency this is
resulting in non-working connections, for example when Apple decides to
forcefully close UDP sockets due to an unsoliced packet rejection in the
firewall.

Too frequent rebinds cause a failure to solicit the endpoints triggering
the rebinds, that would normally happen via CallMeMaybe.

Updates #14551
Updates tailscale/corp#25648

Signed-off-by: James Tucker <[email protected]>
@raggi
raggi requested a review from mikeodr September 25, 2025 20:11
@mikeodr
mikeodr merged commit 8b3e88c into main Sep 26, 2025
@mikeodr
mikeodr deleted the raggi/rebind-debounce branch September 26, 2025 15:06
raggi added a commit that referenced this pull request Oct 14, 2025
On platforms that are causing EPIPE at a high frequency this is
resulting in non-working connections, for example when Apple decides to
forcefully close UDP sockets due to an unsoliced packet rejection in the
firewall.

Too frequent rebinds cause a failure to solicit the endpoints triggering
the rebinds, that would normally happen via CallMeMaybe.

Updates #14551
Updates tailscale/corp#25648

Signed-off-by: James Tucker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants