Repository navigation
Reuse DOSCTRL RPC connections to prevent socket exhaustion - #64
Merged
Merged
Conversation
A parent TP6 batch failed with Windows socket10048 after12 compiles. Reuse JSON-lines framing supported by DebugServer; discard uncertain channels without request replay, retain absolute deadlines and close CLI/session owners.52 focused tests pass, including500-poll, wrong-ID, uncertain-write and timeout controls.
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.
DOSCTRL polling opened one TCP connection per JSON-RPC request, and a parent TP6 batch failed with Windows socket error 10048 after 12 compiles. Reuse the existing JSON-lines channel, retain per-call absolute deadlines, and discard uncertain channels without replaying requests. CLI and live-DOS session owners close explicitly.
Validation: 52 focused controller tests pass. An independent 500-poll before/after probe measures 500 connections before and one after. New controls cover wrong reply IDs, an applied write with a late reply, explicit reconnect and idempotent close. Public CI and fresh parent TP6 recompilation must pass before integration.