Repository navigation
Commit e575dec
committed
fix: reject replies from retired streamable http sessions
Keep the inbound transport generation with automatic handler responses
and errors. Reject replies after session recovery, including during the
shutdown drain, without adding wire metadata.
Match the completing handler's token before removing its request id so
an old handler cannot cancel a replacement that reuses the id.
Cover late replies, id reuse, scoped send context, and shutdown races.1 parent 50fba5c commit e575dec
4 files changed
Lines changed: 705 additions & 47 deletions
File tree
- crates/rmcp
- src
- transport
- tests
0 commit comments