René's URL Explorer Experiment


Title: fix: clean up session when disconnected by nightosong · Pull Request #2044 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix: clean up session when disconnected by nightosong · Pull Request #2044 · modelcontextprotocol/python-sdk

X Title: fix: clean up session when disconnected by nightosong · Pull Request #2044 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix: clean up session when disconnected by nightosong · Pull Request #2044 · modelcontextprotocol/python-sdk

Open Graph Description: Motivation and Context Changes: Remove session_id from _read_stream_writers when the SSE connection is closed. Ensure proper cleanup after EventSourceResponse returns. Types of changes Bug fi...

X Description: Motivation and Context Changes: Remove session_id from _read_stream_writers when the SSE connection is closed. Ensure proper cleanup after EventSourceResponse returns. Types of changes Bug fi...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2044

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:012df05e-715c-2321-4d6c-6b6a699f7d58
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id8D12:2C6C7D:E192B9:12D1ACA:6A612222
html-safe-nonce57fe7cf689aaaba5415a164d4241426e8d462bc0c2ce2d1ffe98c373c9233ac5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDEyOjJDNkM3RDpFMTkyQjk6MTJEMUFDQTo2QTYxMjIyMiIsInZpc2l0b3JfaWQiOiIzNjQ4MTA2ODgxODM0MDk5MjM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac01eb7a5793d6d4474d94aa0589b346afc6844dec02d0f74af656dba2764af01e
hovercard-subject-tagpull_request:3275040550
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2044/checks
twitter:imagehttps://opengraph.githubassets.com/97abf370d13a38a98bb1fee2875f1a27255e7069ae14e152387dc7daf539ccfd/modelcontextprotocol/python-sdk/pull/2044
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/97abf370d13a38a98bb1fee2875f1a27255e7069ae14e152387dc7daf539ccfd/modelcontextprotocol/python-sdk/pull/2044
og:image:altMotivation and Context Changes: Remove session_id from _read_stream_writers when the SSE connection is closed. Ensure proper cleanup after EventSourceResponse returns. Types of changes Bug fi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenightosong
hostnamegithub.com
expected-hostnamegithub.com
None7d9987c85f924dc5597480f737e023a6e985b0316e672f00513eb4ba440d87ba
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-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
released38dc1dac7b5a5d0788e068e080820de6de90a28
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2044/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2044%2Fchecks
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%2Fpython-sdk%2Fpull%2F2044%2Fchecks
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%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2044/checks
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2044/checks
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2044/checks
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2044/checks
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 268 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 311 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
nightosonghttps://github.com/nightosong
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
nightosong:fix/ssehttps://github.com/nightosong/python-sdk/tree/fix/sse
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2044
Commits2 (2)https://github.com/modelcontextprotocol/python-sdk/pull/2044/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2044/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2044/files
fix: clean up session when disconnectedhttps://github.com/modelcontextprotocol/python-sdk/pull/2044/checks#top
nightosonghttps://github.com/nightosong
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
nightosong:fix/ssehttps://github.com/nightosong/python-sdk/tree/fix/sse
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2044/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2044%2Fchecks
Conformance Tests on: pull_request https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085004
server-conformance https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085004/job/63359929487?pr=2044
client-conformance https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085004/job/63359929502?pr=2044
Claude Code Review on: pull_request https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085028
claude-review https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085028/job/63359930050?pr=2044
CI on: pull_request https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046
checks / pre-commit https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929495?pr=2044
checks / test (3.10, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929663?pr=2044
checks / test (3.10, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929660?pr=2044
checks / test (3.10, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929678?pr=2044
checks / test (3.10, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929676?pr=2044
checks / test (3.11, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929668?pr=2044
checks / test (3.11, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929659?pr=2044
checks / test (3.11, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929708?pr=2044
checks / test (3.11, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929742?pr=2044
checks / test (3.12, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929719?pr=2044
checks / test (3.12, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929721?pr=2044
checks / test (3.12, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929734?pr=2044
checks / test (3.12, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929760?pr=2044
checks / test (3.13, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929743?pr=2044
checks / test (3.13, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929713?pr=2044
checks / test (3.13, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929693?pr=2044
checks / test (3.13, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929737?pr=2044
checks / test (3.14, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929729?pr=2044
checks / test (3.14, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929696?pr=2044
checks / test (3.14, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929748?pr=2044
checks / test (3.14, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929712?pr=2044
checks / readme-snippets https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63359929506?pr=2044
all-green https://github.com/modelcontextprotocol/python-sdk/actions/runs/21939085046/job/63360312837?pr=2044
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.