Skip to content

fix(http): cancel session work when the transport closes - #1267

Draft
charliemarsh-oai wants to merge 1 commit into
modelcontextprotocol:mainfrom
charliemarsh-oai:charlie/cancel-http-worker-on-close
Draft

charliemarsh-oai wants to merge 1 commit into
modelcontextprotocol:mainfrom
charliemarsh-oai:charlie/cancel-http-worker-on-close

Conversation

@charliemarsh-oai

Copy link
Copy Markdown

Closing or dropping a streamable HTTP transport can leave its worker blocked during initialization. We cancel initialization and message processing together, while preserving the existing bounded session DELETE during shutdown.

@github-actions github-actions Bot added T-test Testing related changes T-core Core library changes T-transport Transport layer changes labels Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-core Core library changes T-test Testing related changes T-transport Transport layer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant