-
Notifications
You must be signed in to change notification settings - Fork 434
Loopback server sockets, so MCP can serve any platform #5472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
122f8bb
core: loopback server sockets, so MCP can serve any platform
shai-almog 91949e3
iOS: serve accepted sockets with raw descriptor I/O
shai-almog 075bb33
Address review: port 0 key collision, fail-fast listen, iOS leak
shai-almog c14cec6
Keep the new sources ASCII-only
shai-almog 3f4b104
Block the MCP socket server on release builds
shai-almog af9f460
Address review round 2: fd and signal handling, honest failures
shai-almog 6b5c6f3
Treat a frame cut short by a disconnect as a disconnect
shai-almog 9837873
Only treat a carriage return as delimiter punctuation before a newline
shai-almog 8a187a2
Do not strand the MCP registration when the listen fails
shai-almog 1e01584
Read get-task-allow by parsing the profile, not by proximity
shai-almog 2217b7e
Make stopping a listener actually stop it, and stop overclaiming on d…
shai-almog 8c89c8d
Two more documentation overclaims about what counts as development
shai-almog 9e312fd
Publish the listener stop flag across threads with an AtomicBoolean
shai-almog 2ac902d
Bound the size of an incoming MCP frame
shai-almog 79c91cc
Stop logging a stack trace for a deliberate listener stop
shai-almog 7812b51
Review round: dropped clients, loopback family, EINTR, frame boundary…
shai-almog e902cc5
Retry accept on EINTR, back off a failing listener, make the ceiling …
shai-almog a51f97a
Let a caller preflight the build gate, not just platform capability
shai-almog f8d3ec8
Close the client's output stream too, and fix the guide anchor
shai-almog ad7e037
Read the provisioning profile once, and decode frames without a copy
shai-almog 8ad47e8
Revert the frame decode: core compiles against CLDC11, not the JDK
shai-almog 6734cb2
Do not announce a fault when a listener is deliberately stopped
shai-almog 870b62e
Read frames in blocks, and close the visibility gap on the transport …
shai-almog 9a21ba9
Report a listener that cannot bind, and back off exponentially when i…
shai-almog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.