Skip to content

server: use poll instead of select for MCP stdio reads - #19

Merged
pwilkin merged 1 commit into
pwilkin:feat-mcp-serverfrom
ServeurpersoCom:server/mcp-stdio-poll
Jul 22, 2026
Merged

server: use poll instead of select for MCP stdio reads#19
pwilkin merged 1 commit into
pwilkin:feat-mcp-serverfrom
ServeurpersoCom:server/mcp-stdio-poll

Conversation

@ServeurpersoCom

@ServeurpersoCom ServeurpersoCom commented Jul 16, 2026

Copy link
Copy Markdown

Overview

Avoids undefined behavior when the pipe fd exceeds FD_SETSIZE on a server holding many open descriptors. Same wakeup granularity via 50 ms slices.

Additional information

ggml-org#25736

Requirements

  • I have read and agree with the contributing guidelines
  • AI usage disclosure: YES Frontier models + Self-hosted computer use infrastructure

Avoids undefined behavior when the pipe fd exceeds FD_SETSIZE on a server
holding many open descriptors. Same wakeup granularity via 50 ms slices.
@pwilkin
pwilkin merged commit 12f826e into pwilkin:feat-mcp-server Jul 22, 2026
8 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants