Repository navigation
Commit 1760749
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 3b232c0 commit 1760749
7 files changed
Lines changed: 1338 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 | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
0 commit comments