Skip to content

Extract Linux TCP reactor module - #1176

Merged
Weidong Cui (wdcui) merged 3 commits into
uliteboxfrom
wdcui/ulitebox/extract-tcp-reactor-module
Aug 17, 2026
Merged

Extract Linux TCP reactor module#1176
Weidong Cui (wdcui) merged 3 commits into
uliteboxfrom
wdcui/ulitebox/extract-tcp-reactor-module

Conversation

@wdcui

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

Copy link
Copy Markdown
Member

This PR extracts the Linux TCP reactor implementation from socket.rs into socket/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 in socket.rs; it also organizes protocol-specific integration coverage into socket/tests/tcp.rs and socket/tests/udp.rs while keeping shared and mixed-protocol tests in socket/tests/mod.rs, without changing networking behavior.

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
@wdcui
Weidong Cui (wdcui) added this pull request to the merge queue Aug 16, 2026
@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.

Merged via the queue into ulitebox with commit e186665 Aug 17, 2026
8 checks passed
@wdcui
Weidong Cui (wdcui) deleted the wdcui/ulitebox/extract-tcp-reactor-module branch August 17, 2026 00:00
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