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
test: add regression test for EndOfStream in send_request (#1717)
Adds a test that reproduces the race condition where the per-request
response stream is closed before send_request reads from it. Without
the fix, EndOfStream propagates unhandled. With the fix, it's converted
to MCPError with CONNECTION_CLOSED.
The test closes the response stream's send side directly while the
server connection stays open, bypassing the receive loop's graceful
error injection.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments