mirror of
https://github.com/lukaszraczylo/filepuff-mcp.git
synced 2026-11-26 10:26:26 +00:00
readLoop sent the response on the pending channel while holding c.mu. A misbehaving server sending a duplicate response for the same id would block on the buffered(1) channel under the lock, deadlocking all future dispatches. Use a non-blocking send (matching the notification path).