René's URL Explorer Experiment


Title: Close servlet streamable HTTP transports on async lifecycle events by lxq19991111 · Pull Request #1027 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: Close servlet streamable HTTP transports on async lifecycle events by lxq19991111 · Pull Request #1027 · modelcontextprotocol/java-sdk

X Title: Close servlet streamable HTTP transports on async lifecycle events by lxq19991111 · Pull Request #1027 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - Close servlet streamable HTTP transports on async lifecycle events by lxq19991111 · Pull Request #1027 · modelcontextprotocol/java-sdk

Open Graph Description: Summary Fixes #1021. Register servlet async lifecycle cleanup for Streamable HTTP SSE transports created by HttpServletStreamableServerTransportProvider. This PR makes the current HTTP/SSE transpor...

X Description: Summary Fixes #1021. Register servlet async lifecycle cleanup for Streamable HTTP SSE transports created by HttpServletStreamableServerTransportProvider. This PR makes the current HTTP/SSE transpor...

Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/1027

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9c9ef32c-ebbd-dc9e-45b9-bdde369a1c99
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDEF4:2BBB15:199F85:225717:6A5B59C3
html-safe-noncef38b3f73c08939524eb141922a621ad77dd94e9d113054e8140b5e8e07072c18
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUY0OjJCQkIxNToxOTlGODU6MjI1NzE3OjZBNUI1OUMzIiwidmlzaXRvcl9pZCI6IjEzODUwMjk4NTQxMjM3NDM2ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0d43f117ae14acd855c6d92c4c346329e6aa69c19fbd7381ac3fb7b17c589678
hovercard-subject-tagpull_request:3860372456
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/java-sdk/1027/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3480495cd81c9fca7474425d992743f789711dc07e8002428d38864fc327e347/modelcontextprotocol/java-sdk/pull/1027
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3480495cd81c9fca7474425d992743f789711dc07e8002428d38864fc327e347/modelcontextprotocol/java-sdk/pull/1027
og:image:altSummary Fixes #1021. Register servlet async lifecycle cleanup for Streamable HTTP SSE transports created by HttpServletStreamableServerTransportProvider. This PR makes the current HTTP/SSE transpor...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelxq19991111
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id919609219
octolytics-dimension-repository_nwomodelcontextprotocol/java-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id919609219
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/java-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/java-sdk/pull/1027#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F1027
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F1027
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/1027
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/1027
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/1027
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/1027
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 978 https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Star 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Code https://github.com/modelcontextprotocol/java-sdk
Issues 133 https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests 147 https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality 2 https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Code https://github.com/modelcontextprotocol/java-sdk
Issues https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
lxq19991111https://github.com/lxq19991111
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
lxq19991111:fix/streamable-http-async-lifecyclehttps://github.com/lxq19991111/java-sdk/tree/fix/streamable-http-async-lifecycle
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/1027
Commits1 (1)https://github.com/modelcontextprotocol/java-sdk/pull/1027/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/1027/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/1027/files
Close servlet streamable HTTP transports on async lifecycle eventshttps://github.com/modelcontextprotocol/java-sdk/pull/1027#top
lxq19991111https://github.com/lxq19991111
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
lxq19991111:fix/streamable-http-async-lifecyclehttps://github.com/lxq19991111/java-sdk/tree/fix/streamable-http-async-lifecycle
https://github.com/lxq19991111
lxq19991111https://github.com/lxq19991111
Jun 13, 2026https://github.com/modelcontextprotocol/java-sdk/pull/1027#issue-4656092634
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/1027
#1021https://github.com/modelcontextprotocol/java-sdk/issues/1021
[BUG] McpStreamableServerSession does not close server-side socket when client disconnects, causing CLOSE-WAIT leak and thread pool exhaustion #1021https://github.com/modelcontextprotocol/java-sdk/issues/1021
HttpServletStreamableServerTransportProvider removes session on non-fatal failure #952https://github.com/modelcontextprotocol/java-sdk/issues/952
fix: retain streamable HTTP session on response write failure #972https://github.com/modelcontextprotocol/java-sdk/pull/972
HttpServletStreamableServerTransportProvider orphans sessions on first transient SSE write failure (no grace period) #920https://github.com/modelcontextprotocol/java-sdk/issues/920
fix close_wait and tomcat connection keeps growing #726https://github.com/modelcontextprotocol/java-sdk/pull/726
fix close_wait and tomcat connection keeps growing #726https://github.com/modelcontextprotocol/java-sdk/pull/726
Evict streamable HTTP sessions after failed keep-alive pings #1028https://github.com/modelcontextprotocol/java-sdk/pull/1028
#1028https://github.com/modelcontextprotocol/java-sdk/pull/1028
Evict streamable HTTP sessions after failed keep-alive pings #1028https://github.com/modelcontextprotocol/java-sdk/pull/1028
MCP Documentationhttps://modelcontextprotocol.io/
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/1027
[BUG] McpStreamableServerSession does not close server-side socket when client disconnects, causing CLOSE-WAIT leak and thread pool exhaustion #1021 https://github.com/modelcontextprotocol/java-sdk/issues/1021
[BUG] MCP Streamable HTTP Server: CLOSE-WAIT socket leak exhausts Tomcat thread pool when clients disconnect spring-projects/spring-ai#6384 https://github.com/spring-projects/spring-ai/issues/6384
[BUG] KeepAliveScheduler does not evict sessions after ping failure, causing unbounded CPU growth #1022 https://github.com/modelcontextprotocol/java-sdk/issues/1022
https://github.com/ShemTovYosef
ShemTovYosefhttps://github.com/ShemTovYosef
Jun 18, 2026https://github.com/modelcontextprotocol/java-sdk/pull/1027#issuecomment-4743656018
@lxq19991111https://github.com/lxq19991111
#726https://github.com/modelcontextprotocol/java-sdk/pull/726
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/1027
https://github.com/lxq19991111
lxq19991111https://github.com/lxq19991111
Jun 18, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/1027#ref-pullrequest-4658550952
Evict streamable HTTP sessions after failed keep-alive pings #1028 https://github.com/modelcontextprotocol/java-sdk/pull/1028
https://github.com/lxq19991111
lxq19991111https://github.com/lxq19991111
Jun 18, 2026https://github.com/modelcontextprotocol/java-sdk/pull/1027#issuecomment-4744007704
@ShemTovYosefhttps://github.com/ShemTovYosef
#726https://github.com/modelcontextprotocol/java-sdk/pull/726
#726https://github.com/modelcontextprotocol/java-sdk/pull/726
#726https://github.com/modelcontextprotocol/java-sdk/pull/726
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/1027
https://github.com/ShemTovYosef
ShemTovYosefhttps://github.com/ShemTovYosef
Jun 19, 2026https://github.com/modelcontextprotocol/java-sdk/pull/1027#issuecomment-4749533346
@Kehrlannhttps://github.com/Kehrlann
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/1027
https://github.com/neerajbhatt
neerajbhatthttps://github.com/neerajbhatt
Jun 26, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/1027#ref-pullrequest-4751037307
fix: close servlet streamable HTTP transports on async lifecycle events #1039 https://github.com/modelcontextprotocol/java-sdk/pull/1039
https://github.com/lxq19991111
lxq19991111https://github.com/lxq19991111
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/373a5f8dc3a5981d3b84bd55469c3c0360cabfe9..ce6e2040cdc8a355d88a511fc9b806622fa4b437
373a5f8https://github.com/modelcontextprotocol/java-sdk/commit/373a5f8dc3a5981d3b84bd55469c3c0360cabfe9
ce6e204https://github.com/modelcontextprotocol/java-sdk/commit/ce6e2040cdc8a355d88a511fc9b806622fa4b437
Compare https://github.com/modelcontextprotocol/java-sdk/compare/373a5f8dc3a5981d3b84bd55469c3c0360cabfe9..ce6e2040cdc8a355d88a511fc9b806622fa4b437
June 30, 2026 08:51https://github.com/modelcontextprotocol/java-sdk/pull/1027#event-27369151485
https://github.com/lxq19991111
Close servlet streamable HTTP transports on async lifecycle eventshttps://github.com/modelcontextprotocol/java-sdk/pull/1027/commits/605448d6ceb97d94d4f79369a1bf88b5872b1d6d
605448dhttps://github.com/modelcontextprotocol/java-sdk/pull/1027/commits/605448d6ceb97d94d4f79369a1bf88b5872b1d6d
https://github.com/lxq19991111
lxq19991111https://github.com/lxq19991111
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/ce6e2040cdc8a355d88a511fc9b806622fa4b437..605448d6ceb97d94d4f79369a1bf88b5872b1d6d
ce6e204https://github.com/modelcontextprotocol/java-sdk/commit/ce6e2040cdc8a355d88a511fc9b806622fa4b437
605448dhttps://github.com/modelcontextprotocol/java-sdk/commit/605448d6ceb97d94d4f79369a1bf88b5872b1d6d
Compare https://github.com/modelcontextprotocol/java-sdk/compare/ce6e2040cdc8a355d88a511fc9b806622fa4b437..605448d6ceb97d94d4f79369a1bf88b5872b1d6d
July 7, 2026 14:46https://github.com/modelcontextprotocol/java-sdk/pull/1027#event-27669812854
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F1027
[BUG] McpStreamableServerSession does not close server-side socket when client disconnects, causing CLOSE-WAIT leak and thread pool exhaustion https://github.com/modelcontextprotocol/java-sdk/issues/1021
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/1027
https://github.com/lxq19991111
https://github.com/ShemTovYosef
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.