Skip to content

Extract UDP native endpoint route slots - #1190

Merged
Weidong Cui (wdcui) merged 3 commits into
uliteboxfrom
wdcui/ulitebox/udp-native-endpoint-slots
Aug 18, 2026
Merged

Extract UDP native endpoint route slots#1190
Weidong Cui (wdcui) merged 3 commits into
uliteboxfrom
wdcui/ulitebox/udp-native-endpoint-slots

Conversation

@wdcui

@wdcui Weidong Cui (wdcui) commented Aug 18, 2026

Copy link
Copy Markdown
Member

This PR consolidates Linux-native UDP handling into one UdpNativeEndpoint per broker socket for all allowed destinations outside the sandbox. It centralizes staging, reuse, retirement, readiness, and error handling, using monotonic epoll tokens to ignore stale events and roll back failures safely. Host-local and internet traffic share the same path; private-host destinations remain fail-closed.

Colocate native UDP endpoint readiness, errors, epoll identity, and lifecycle state behind route-aware slots while preserving the existing external-only behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
@wdcui
Weidong Cui (wdcui) force-pushed the wdcui/ulitebox/udp-native-endpoint-slots branch from a76ea30 to 5dfd222 Compare August 18, 2026 22:09
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@wdcui
Weidong Cui (wdcui) added this pull request to the merge queue Aug 18, 2026
Merged via the queue into ulitebox with commit 1f66c42 Aug 18, 2026
6 of 7 checks passed
@wdcui
Weidong Cui (wdcui) deleted the wdcui/ulitebox/udp-native-endpoint-slots branch August 18, 2026 23:42
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.

1 participant