René's URL Explorer Experiment


Title: TCP connections remain in CLOSE_WAIT state after client disconnection in SSE mode · Issue #378 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: TCP connections remain in CLOSE_WAIT state after client disconnection in SSE mode · Issue #378 · modelcontextprotocol/java-sdk

X Title: TCP connections remain in CLOSE_WAIT state after client disconnection in SSE mode · Issue #378 · modelcontextprotocol/java-sdk

Description: Bug description When clients terminate SSE connections with the Java MCP server, the underlying TCP connections remain in CLOSE_WAIT state, while the client side stays in FIN_WAIT_2. This can lead to resource leaks, especially in scenari...

Open Graph Description: Bug description When clients terminate SSE connections with the Java MCP server, the underlying TCP connections remain in CLOSE_WAIT state, while the client side stays in FIN_WAIT_2. This can lead ...

X Description: Bug description When clients terminate SSE connections with the Java MCP server, the underlying TCP connections remain in CLOSE_WAIT state, while the client side stays in FIN_WAIT_2. This can lead ...

Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/issues/378

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TCP connections remain in CLOSE_WAIT state after client disconnection in SSE mode","articleBody":"**Bug description**\nWhen clients terminate SSE connections with the Java MCP server, the underlying TCP connections remain in CLOSE_WAIT state, while the client side stays in FIN_WAIT_2. This can lead to resource leaks, especially in scenarios where clients cannot properly send RST signals (e.g., when using customized user-space network stacks).\n\n\u003cimg width=\"1468\" height=\"202\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/eab041bc-bacd-4b97-b9e5-4042482c1779\" /\u003e\n\n**Environment**\njava version: 17\nsdk version: 0.10.0\nspring-ai.version: 1.0.0\n\n**Steps to reproduce**\n1. setup a plain spring-ai mcp server, listen on localhost:8888/sse\n2. use inspector to call 127.0.0.1:8888/sse\n3. use inspector to list tool/call tools/...\n4. disconnect the connection and use netstat -anp|grep 8888\n\n**Expected behavior**\nAll TCP connections should be closed properly.\n\n\n","author":{"url":"https://github.com/hty690","@type":"Person","name":"hty690"},"datePublished":"2025-07-07T07:34:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/378/java-sdk/issues/378"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a6b301b8-7772-e759-68a2-451ed2dc37fd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBDD4:375586:3DA0DE:5463B9:6A5FC9F7
html-safe-nonce41eff56e15d962730699626c3955818a92370e9d1499fea621dc0996a95b4435
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREQ0OjM3NTU4NjozREEwREU6NTQ2M0I5OjZBNUZDOUY3IiwidmlzaXRvcl9pZCI6IjcwMDgwMzkwNjEzOTI3MDYwMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac41932a7c0ca4dac4768999e50b5f5e05ae28185b8954958890c1344ed2fbbda2
hovercard-subject-tagissue:3207882562
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/java-sdk/378/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ca45aa5da64e6199a1a6794f7fd05b91f8feaf5cdcc1c98efed6056b7307fca5/modelcontextprotocol/java-sdk/issues/378
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ca45aa5da64e6199a1a6794f7fd05b91f8feaf5cdcc1c98efed6056b7307fca5/modelcontextprotocol/java-sdk/issues/378
og:image:altBug description When clients terminate SSE connections with the Java MCP server, the underlying TCP connections remain in CLOSE_WAIT state, while the client side stays in FIN_WAIT_2. This can lead ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehty690
hostnamegithub.com
expected-hostnamegithub.com
None8b098704642cd5473d3dc9d5d8023399a68de27a0492776c4517d75af6710ead
turbo-cache-controlno-preview
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
released9cb40632285451ad16923c07a6f2debe8279086
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/java-sdk/issues/378#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fissues%2F378
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fissues%2F378
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=modelcontextprotocol%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/issues/378
Reloadhttps://github.com/modelcontextprotocol/java-sdk/issues/378
Reloadhttps://github.com/modelcontextprotocol/java-sdk/issues/378
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/issues/378
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 984 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 135 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
Bughttps://github.com/modelcontextprotocol/java-sdk/issues?q=type:"Bug"
TCP connections remain in CLOSE_WAIT state after client disconnection in SSE modehttps://github.com/modelcontextprotocol/java-sdk/issues/378#top
bugSomething isn't workinghttps://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22bug%22
needs confirmationhttps://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22needs%20confirmation%22
waiting for userWaiting for user feedback or more detailshttps://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22waiting%20for%20user%22
https://github.com/hty690
hty690https://github.com/hty690
on Jul 7, 2025https://github.com/modelcontextprotocol/java-sdk/issues/378#issue-3207882562
https://private-user-images.githubusercontent.com/35486302/463081611-eab041bc-bacd-4b97-b9e5-4042482c1779.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ2NjI4MTksIm5iZiI6MTc4NDY2MjUxOSwicGF0aCI6Ii8zNTQ4NjMwMi80NjMwODE2MTEtZWFiMDQxYmMtYmFjZC00Yjk3LWI5ZTUtNDA0MjQ4MmMxNzc5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzIxVDE5MzUxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxZjcwMTYxMDZmYmJmNzRhOTUzN2U2ZGRjMjViNzVmY2Q1MzMwMDMyOTk5MTZiMDc3ZGYxNmYyZmY3MmMxZDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.e3A7szUg8rzAJ8TUocSrgtUjBywOX3s-wF3u3I6aJdY
bugSomething isn't workinghttps://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22bug%22
needs confirmationhttps://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22needs%20confirmation%22
waiting for userWaiting for user feedback or more detailshttps://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22waiting%20for%20user%22
Bughttps://github.com/modelcontextprotocol/java-sdk/issues?q=type:"Bug"
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.