Repository navigation
docs: document the .NET Framework close-code limit on terminal sockets - #953
Merged
Merged
Conversation
Merged
7 tasks done
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.
📝 Description
What does this PR do?
It documents a .NET Framework platform limit on terminal sockets, as the maintainer decided in #934 (option b: document it, add no mapping and no new transport).
On .NET Framework, a server close with 1012, 1013 or 1014 makes
ClientWebSocketthrow aWebSocketException(native error0x83760002) and leaves the socketAborted. .NET 10 and later receive the close normally. opencode closes location-borrowing sockets with 1012location shut downon a reload.What it changes for callers:
OpenCodeTransportExceptionon every target.WebSocketExceptionas its inner exception, so the status and reason are lost.Docs:
docs/architecture/client-runtime.md, PTY WebSocket session: a ".NET Framework close-code limit" bullet, the canonical statement.docs/guide/terminals.md: a short relay where the guide describes closes, linking to the canon.Related Issue(s):
🔄 Type of Change
🎯 Protocol & API Surface
spec/) is untouchedexternal/was hand-edited🧪 Testing
✅ Completion Gate
quality-gates.mdpasses on this head, rebased onmaster: whitespace, format/style, clones, slopwatch, the release build, all test projects, the API snapshots,generate --verify, the fixed point, Extensions and Native AOT.📚 Documentation
client-runtime.md; the guide relays itCHANGELOG.md: no entry. The documented behaviour already ships unchanged, and the CHANGELOG records user-facing changes.✅ Code Quality Checklist
🔍 Additional Notes
Breaking Changes: none. Dependencies: none.