mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
A tool call that was aborted or timed out while waiting for a shared OAuth refresh was still retried by StreamableHttpTransport once the refresh finished, so the server executed a call the caller had already given up on. McpClient now passes a per-request signal to McpTransport.send(), aborted once the request settles (cancelled, timed out, answered, or closed). StreamableHttpTransport checks it before each dispatch. The shared refresh itself is not aborted, so other requests waiting on it still succeed. fixes #10598 |
||
|---|---|---|
| .. | ||
| fixtures | ||
| client.test.ts | ||
| content.test.ts | ||
| helpers.ts | ||
| oauth.test.ts | ||
| stdio.test.ts | ||
| streamable-http.test.ts | ||