FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix roots/list_changed handling for stateful clients by ordinary-s · Pull Request #1098 · modelcontextprotocol/java-sdk · GitHub

Fix roots/list_changed handling for stateful clients - #1098

Open
ordinary-s wants to merge 1 commit into
modelcontextprotocol:mainfrom
ordinary-s:fix/stateful-roots-list-changed-1061
Open

Fix roots/list_changed handling for stateful clients#1098
ordinary-s wants to merge 1 commit into
modelcontextprotocol:mainfrom
ordinary-s:fix/stateful-roots-list-changed-1061

Conversation

Copy link
Copy Markdown

Fixes #1061

This PR fixes the handling of roots/list_changed notifications for stateful clients.

The change avoids unnecessary roots listing when no roots change consumer is registered and prevents the notification from blocking until the request timeout.

Tests have been added/updated to cover this behavior.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant


Back | FazBrowse Home | New Git URL