Skip to content

Introduce session sweeping - #1187

Merged
Kehrlann merged 2 commits into
0.18.xfrom
dgarnier/0.18.x/streamable-session-sweeping
Oct 15, 2026
Merged

Kehrlann merged 2 commits into
0.18.xfrom
dgarnier/0.18.x/streamable-session-sweeping

Conversation

@Kehrlann

Copy link
Copy Markdown
Contributor

No description provided.

Kehrlann and others added 2 commits October 15, 2026 18:02
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>
Port of spring-projects/spring-ai@023867c
to the WebFlux and WebMvc Streamable HTTP server transports.

Give users the ability to configure maxSessions and a mechanism to evict
idle sessions. Initialize requests carrying an Mcp-Session-Id header are
rejected, and sessions removed through DELETE are no longer tracked.

Signed-off-by: Dimitar Proynov <dimitar.proynov@broadcom.com>
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
@Kehrlann
Kehrlann merged commit e59dab1 into 0.18.x Oct 15, 2026
8 of 9 checks passed
@Kehrlann
Kehrlann deleted the dgarnier/0.18.x/streamable-session-sweeping branch October 15, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants