Race condition in StreamableHTTP: zero-buffer memory streams cause deadlock with concurrent SSE responses

此问题出现在使用 MCP Python SDK 的 StreamableHTTPServerTransport 时,常见场景包括: 使用 FastMCP 构建的 MCP 服务器(stateless_http=True)返回包含数组(3+ 元素)的工具响应 Claude Code 等客户端通过互联网连

![[Bug]: No exposed models in 1.89.1 in OpenWebUI](https://www.chat-gpts.plus/wp-content/uploads/2026/06/30513-45c99d06-768x403.jpg)
![[Windows] Misc. bug: llama.exe b9733: "error: invalid argument: " for subcommands](https://www.chat-gpts.plus/wp-content/uploads/2026/06/24860-ed87dce9-768x403.jpg)





