Repository navigation
Commit cf91374
committed
Streamable HTTP: Add session sweeping and close hanging streams
Backport of #1130.
Also includes the changes from 4186ca1 (resumed streams are registered
as the listening stream) and ff78191 (close the response stream after
sending a method-not-found error), which #1130 builds upon.
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>1 parent 9369e04 commit cf91374
7 files changed
Lines changed: 1337 additions & 188 deletions
File tree
- docs
- mcp-core/src
- main/java/io/modelcontextprotocol
- server/transport
- spec
- util
- test/java/io/modelcontextprotocol/spec
- mcp-test/src/test/java/io/modelcontextprotocol/server
- transport
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments