Skip to content

mcp_server: fix EOF handling. #20160

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 1 commit into from
Jun 23, 2025
Merged

mcp_server: fix EOF handling. #20160

merged 1 commit into from
Jun 23, 2025

Conversation

MikeMcQuaid
Copy link
Member

We need to handle when stdin is closed but there's no interrupt signal.

Without this, the server will be stuck an in infinite busy loop.

@MikeMcQuaid MikeMcQuaid enabled auto-merge June 23, 2025 15:25
@MikeMcQuaid MikeMcQuaid force-pushed the mcp_server_eof branch 2 times, most recently from ed28f68 to b79ee31 Compare June 23, 2025 15:49
We need to handle when `stdin` is closed but there's no interrupt
signal.

Without this, the server will be stuck an in infinite busy loop.
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jun 23, 2025
Merged via the queue into master with commit 2c16fe9 Jun 23, 2025
33 checks passed
@MikeMcQuaid MikeMcQuaid deleted the mcp_server_eof branch June 23, 2025 16:17
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.

2 participants