René's URL Explorer Experiment


Title: fix(stdio): drain responses and bound stdout shutdown after EOF by Epochex · Pull Request #2680 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix(stdio): drain responses and bound stdout shutdown after EOF by Epochex · Pull Request #2680 · modelcontextprotocol/python-sdk

X Title: fix(stdio): drain responses and bound stdout shutdown after EOF by Epochex · Pull Request #2680 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix(stdio): drain responses and bound stdout shutdown after EOF by Epochex · Pull Request #2680 · modelcontextprotocol/python-sdk

Open Graph Description: Fixes #2678. Also addresses the unread-stdout shutdown case tracked in #3674. Closing stdin can mean the client has finished sending requests while it still expects responses on stdout. Allow accep...

X Description: Fixes #2678. Also addresses the unread-stdout shutdown case tracked in #3674. Closing stdin can mean the client has finished sending requests while it still expects responses on stdout. Allow accep...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:2a8af2af-3177-fe8c-6b42-caceea0bdbed
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id995A:32BBAA:841356:B842A1:6B04809B
html-safe-nonce2735e209845e510280b7e51cbc851a1145944917c5375b7bf3a49b5baa74d8e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTVBOjMyQkJBQTo4NDEzNTY6Qjg0MkExOjZCMDQ4MDlCIiwidmlzaXRvcl9pZCI6IjQyMDE2Mjg5ODI2MTk0MzkyNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2f2ce2158dc66c58b80959be139ca9523bccad1d57ae48eba8d7c9ffcb745f30
hovercard-subject-tagpull_request:3744036566
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2680/commits
twitter:imagehttps://opengraph.githubassets.com/8d22a876e7b2687cda7e5650b4e51a37c4edeb5824a217a7ffa44aa23b1a4649/modelcontextprotocol/python-sdk/pull/2680
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d22a876e7b2687cda7e5650b4e51a37c4edeb5824a217a7ffa44aa23b1a4649/modelcontextprotocol/python-sdk/pull/2680
og:image:altFixes #2678. Also addresses the unread-stdout shutdown case tracked in #3674. Closing stdin can mean the client has finished sending requests while it still expects responses on stdout. Allow accep...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEpochex
hostnamegithub.com
expected-hostnamegithub.com
None0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511
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
releaseed3f2e01f6b7672780c586c8af0e72726374d7b6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2680%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2680%2Fcommits
Sign uphttps://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%2Fcommits&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues320 (320)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
https://github.com/modelcontextprotocol/python-sdk
Epochexhttps://github.com/Epochex
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
Epochex:fix/2678-stdio-drain-writeshttps://github.com/Epochex/python-sdk/tree/fix/2678-stdio-drain-writes
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2680
Commits10 (10)https://github.com/modelcontextprotocol/python-sdk/pull/2680/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2680/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/files
fix(stdio): drain responses and bound stdout shutdown after EOFhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits#top
Epochexhttps://github.com/Epochex
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
Epochex:fix/2678-stdio-drain-writeshttps://github.com/Epochex/python-sdk/tree/fix/2678-stdio-drain-writes
fix(stdio): drain responses after stdin EOFhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/66568d316c7c6caca9c94e7a3611420c8bfc8c0f
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
66568d3https://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/66568d316c7c6caca9c94e7a3611420c8bfc8c0f
https://github.com/modelcontextprotocol/python-sdk/tree/66568d316c7c6caca9c94e7a3611420c8bfc8c0f
test: cover stdio EOF drain and shutdown edgeshttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/878c45c3a0bea2f3eda8a28c131d8a4032a34a18
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
878c45chttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/878c45c3a0bea2f3eda8a28c131d8a4032a34a18
https://github.com/modelcontextprotocol/python-sdk/tree/878c45c3a0bea2f3eda8a28c131d8a4032a34a18
test: ignore coverage branch arc on 3.14https://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/aa32ab41f06ca5fd9fda3823e1a9242dd586bb55
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
aa32ab4https://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/aa32ab41f06ca5fd9fda3823e1a9242dd586bb55
https://github.com/modelcontextprotocol/python-sdk/tree/aa32ab41f06ca5fd9fda3823e1a9242dd586bb55
fix(server): opt-in drain on read EOFhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/252ff38f666bad3560957987c3d4ee67d984793c
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
252ff38https://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/252ff38f666bad3560957987c3d4ee67d984793c
https://github.com/modelcontextprotocol/python-sdk/tree/252ff38f666bad3560957987c3d4ee67d984793c
fix(stdio): bound EOF drain waithttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/8cdc81ddb77755261f21eb1f771fdd9b25124750
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
8cdc81dhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/8cdc81ddb77755261f21eb1f771fdd9b25124750
https://github.com/modelcontextprotocol/python-sdk/tree/8cdc81ddb77755261f21eb1f771fdd9b25124750
test: cover EOF drain brancheshttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/473118703755e88765c378d7956dbf28aef052cc
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
4731187https://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/473118703755e88765c378d7956dbf28aef052cc
https://github.com/modelcontextprotocol/python-sdk/tree/473118703755e88765c378d7956dbf28aef052cc
test: exercise dispatcher shutdown drain modehttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/665ff8b54d86665a9bc8637d645f3bd2bcd1ab03
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
665ff8bhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/665ff8b54d86665a9bc8637d645f3bd2bcd1ab03
https://github.com/modelcontextprotocol/python-sdk/tree/665ff8b54d86665a9bc8637d645f3bd2bcd1ab03
test: use handshake version in cancellation testshttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/6b14ed4faf263e5ef406a0f83ed92df7df19bed8
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
6b14ed4https://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/6b14ed4faf263e5ef406a0f83ed92df7df19bed8
https://github.com/modelcontextprotocol/python-sdk/tree/6b14ed4faf263e5ef406a0f83ed92df7df19bed8
fix(server): thread EOF drain timeout through split loopshttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/7d386fb72ebbb1e3b457fe50959119dd08ee5d00
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
7d386fbhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/7d386fb72ebbb1e3b457fe50959119dd08ee5d00
https://github.com/modelcontextprotocol/python-sdk/tree/7d386fb72ebbb1e3b457fe50959119dd08ee5d00
fix(stdio): bound stdout drain on disconnecthttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/ae4142fc72a59f1f5b781792430cfd313f6462c5
https://github.com/Epochex
Epochexhttps://github.com/modelcontextprotocol/python-sdk/commits?author=Epochex
ae4142fhttps://github.com/modelcontextprotocol/python-sdk/pull/2680/commits/ae4142fc72a59f1f5b781792430cfd313f6462c5
https://github.com/modelcontextprotocol/python-sdk/tree/ae4142fc72a59f1f5b781792430cfd313f6462c5
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.