Extract Linux TCP reactor module - #1176
Merged
Weidong Cui (wdcui) merged 3 commits intoAug 17, 2026
Merged
Conversation
Move TCP-specific reactor state, lifecycle, I/O helpers, and focused tests into dedicated socket/tcp modules while preserving shared TCP/UDP dispatch in socket.rs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Move UDP-specific integration tests into a dedicated module so the socket test layout mirrors the TCP and UDP implementation modules. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Restore the transport-kind guard while moving epoll readiness mapping so UDP entries cannot acquire TCP hangup semantics. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
|
🤖 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. |
Weidong Cui (wdcui)
deleted the
wdcui/ulitebox/extract-tcp-reactor-module
branch
August 17, 2026 00:00
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR extracts the Linux TCP reactor implementation from
socket.rsintosocket/tcp.rs, including TCP state, connection lifecycle, I/O, options, readiness, listen/accept, and cleanup paths, while retaining shared reactor lifecycle and mixed TCP/UDP dispatch insocket.rs; it also organizes protocol-specific integration coverage intosocket/tests/tcp.rsandsocket/tests/udp.rswhile keeping shared and mixed-protocol tests insocket/tests/mod.rs, without changing networking behavior.