You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(mcp): abort hanging connections to non-standard servers
Add AbortController support to remote MCP transports (StreamableHTTP
and SSE) to prevent indefinite hangs when servers send malformed
responses or stall during handshake.
- Pass AbortSignal to transport requestInit for native fetch abort
- Set timeout to abort connections after configured timeout
- Ensure cleanup on all error paths (timeout, error, success)
Fixes#8406
0 commit comments