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: redirect.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:0e45ca32-d349-bde6-d2d2-f745eaebdf83
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8370:A2614:17208C8:21A7C4B:6A609FF9
html-safe-nonce59cd7e889b1446ef456258263275b600e3c3f106ece67133dc90f9af04739b57
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzcwOkEyNjE0OjE3MjA4Qzg6MjFBN0M0Qjo2QTYwOUZGOSIsInZpc2l0b3JfaWQiOiI4NDY0NzgwMDk3MTgyODAxOTEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4ae69746b1f54804ff71fa64d1ed0d92c76b6c338120704f475baa96ce48846a
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
None5142d23feb6a650085422edf60d68c93777dfa6c4b0c9151eb464d3e4969f618
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
releasec55ed501f6bbf0f43900d14552f6a9bd0bec6757
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027#start-of-content
https://redirect.github.com/
Sign in https://redirect.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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F1027
Sign up https://redirect.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://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
Reloadhttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
Reloadhttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
modelcontextprotocol https://redirect.github.com/modelcontextprotocol
java-sdkhttps://redirect.github.com/modelcontextprotocol/java-sdk
Notifications https://redirect.github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 984 https://redirect.github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Star 3.6k https://redirect.github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Code https://redirect.github.com/modelcontextprotocol/java-sdk
Issues 136 https://redirect.github.com/modelcontextprotocol/java-sdk/issues
Pull requests 147 https://redirect.github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://redirect.github.com/modelcontextprotocol/java-sdk/discussions
Actions https://redirect.github.com/modelcontextprotocol/java-sdk/actions
Projects https://redirect.github.com/modelcontextprotocol/java-sdk/projects
Models https://redirect.github.com/modelcontextprotocol/java-sdk/models
Security and quality 2 https://redirect.github.com/modelcontextprotocol/java-sdk/security
Insights https://redirect.github.com/modelcontextprotocol/java-sdk/pulse
Code https://redirect.github.com/modelcontextprotocol/java-sdk
Issues https://redirect.github.com/modelcontextprotocol/java-sdk/issues
Pull requests https://redirect.github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://redirect.github.com/modelcontextprotocol/java-sdk/discussions
Actions https://redirect.github.com/modelcontextprotocol/java-sdk/actions
Projects https://redirect.github.com/modelcontextprotocol/java-sdk/projects
Models https://redirect.github.com/modelcontextprotocol/java-sdk/models
Security and quality https://redirect.github.com/modelcontextprotocol/java-sdk/security
Insights https://redirect.github.com/modelcontextprotocol/java-sdk/pulse
lxq19991111https://redirect.github.com/lxq19991111
modelcontextprotocol:mainhttps://redirect.github.com/modelcontextprotocol/java-sdk/tree/main
lxq19991111:fix/streamable-http-async-lifecyclehttps://redirect.github.com/lxq19991111/java-sdk/tree/fix/streamable-http-async-lifecycle
Conversationhttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
Commits1 (1)https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027/commits
Checkshttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027/checks
Files changedhttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027/files
Close servlet streamable HTTP transports on async lifecycle eventshttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027#top
lxq19991111https://redirect.github.com/lxq19991111
modelcontextprotocol:mainhttps://redirect.github.com/modelcontextprotocol/java-sdk/tree/main
lxq19991111:fix/streamable-http-async-lifecyclehttps://redirect.github.com/lxq19991111/java-sdk/tree/fix/streamable-http-async-lifecycle
https://redirect.github.com/lxq19991111
lxq19991111https://redirect.github.com/lxq19991111
Jun 13, 2026https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027#issue-4656092634
Please reload this pagehttps://redirect.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://redirect.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://redirect.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://redirect.github.com/spring-projects/spring-ai/issues/6384
[BUG] KeepAliveScheduler does not evict sessions after ping failure, causing unbounded CPU growth #1022 https://redirect.github.com/modelcontextprotocol/java-sdk/issues/1022
https://redirect.github.com/ShemTovYosef
ShemTovYosefhttps://redirect.github.com/ShemTovYosef
Jun 18, 2026https://redirect.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://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
https://redirect.github.com/lxq19991111
lxq19991111https://redirect.github.com/lxq19991111
Jun 18, 2026 https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027#ref-pullrequest-4658550952
Evict streamable HTTP sessions after failed keep-alive pings #1028 https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1028
https://redirect.github.com/lxq19991111
lxq19991111https://redirect.github.com/lxq19991111
Jun 18, 2026https://redirect.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://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
https://redirect.github.com/ShemTovYosef
ShemTovYosefhttps://redirect.github.com/ShemTovYosef
Jun 19, 2026https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027#issuecomment-4749533346
@Kehrlannhttps://github.com/Kehrlann
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
https://redirect.github.com/neerajbhatt
neerajbhatthttps://redirect.github.com/neerajbhatt
Jun 26, 2026 https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027#ref-pullrequest-4751037307
fix: close servlet streamable HTTP transports on async lifecycle events #1039 https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1039
https://redirect.github.com/lxq19991111
lxq19991111https://redirect.github.com/lxq19991111
force-pushedhttps://redirect.github.com/modelcontextprotocol/java-sdk/compare/373a5f8dc3a5981d3b84bd55469c3c0360cabfe9..ce6e2040cdc8a355d88a511fc9b806622fa4b437
373a5f8https://redirect.github.com/modelcontextprotocol/java-sdk/commit/373a5f8dc3a5981d3b84bd55469c3c0360cabfe9
ce6e204https://redirect.github.com/modelcontextprotocol/java-sdk/commit/ce6e2040cdc8a355d88a511fc9b806622fa4b437
Compare https://redirect.github.com/modelcontextprotocol/java-sdk/compare/373a5f8dc3a5981d3b84bd55469c3c0360cabfe9..ce6e2040cdc8a355d88a511fc9b806622fa4b437
June 30, 2026 08:51https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027#event-27369151485
https://redirect.github.com/lxq19991111
Close servlet streamable HTTP transports on async lifecycle eventshttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027/commits/605448d6ceb97d94d4f79369a1bf88b5872b1d6d
605448dhttps://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027/commits/605448d6ceb97d94d4f79369a1bf88b5872b1d6d
https://redirect.github.com/lxq19991111
lxq19991111https://redirect.github.com/lxq19991111
force-pushedhttps://redirect.github.com/modelcontextprotocol/java-sdk/compare/ce6e2040cdc8a355d88a511fc9b806622fa4b437..605448d6ceb97d94d4f79369a1bf88b5872b1d6d
ce6e204https://redirect.github.com/modelcontextprotocol/java-sdk/commit/ce6e2040cdc8a355d88a511fc9b806622fa4b437
605448dhttps://redirect.github.com/modelcontextprotocol/java-sdk/commit/605448d6ceb97d94d4f79369a1bf88b5872b1d6d
Compare https://redirect.github.com/modelcontextprotocol/java-sdk/compare/ce6e2040cdc8a355d88a511fc9b806622fa4b437..605448d6ceb97d94d4f79369a1bf88b5872b1d6d
July 7, 2026 14:46https://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027#event-27669812854
https://github.co/hiddenchars
https://redirect.github.com/modelcontextprotocol/java-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.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://redirect.github.com/modelcontextprotocol/java-sdk/pull/1027
https://redirect.github.com/lxq19991111
https://redirect.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.