René's URL Explorer Experiment


Title: Buffer per-request StreamableHTTP streams to avoid serial-router head-of-line block by maxisbey · Pull Request #2934 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Buffer per-request StreamableHTTP streams to avoid serial-router head-of-line block by maxisbey · Pull Request #2934 · modelcontextprotocol/python-sdk

X Title: Buffer per-request StreamableHTTP streams to avoid serial-router head-of-line block by maxisbey · Pull Request #2934 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Buffer per-request StreamableHTTP streams to avoid serial-router head-of-line block by maxisbey · Pull Request #2934 · modelcontextprotocol/python-sdk

Open Graph Description: Two related fixes to the stateful StreamableHTTPServerTransport so concurrent requests can't wedge each other and event-store ordering doesn't depend on scheduler timing. Buffer the per-req...

X Description: Two related fixes to the stateful StreamableHTTPServerTransport so concurrent requests can't wedge each other and event-store ordering doesn't depend on scheduler timing. Buffer the...

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

X: @github

direct link

Domain: github.com

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/_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:16f32fe8-ace5-cb99-b867-b640416fd7dc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id833C:2A628F:43372E:591406:6AFCEA51
html-safe-nonce620b13cbe9c5d00d4f5e707a8234ee0acaf4310946f7972c7282d3cda17ebfa6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzNDOjJBNjI4Rjo0MzM3MkU6NTkxNDA2OjZBRkNFQTUxIiwidmlzaXRvcl9pZCI6Ijc5NTkxNDU2MDE4Njg1NTY4ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf876dc84a47b7c0ef1171d3aef1896db8991d02284c826a9828f9f2d66fe71d3
hovercard-subject-tagpull_request:3904579047
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/python-sdk/2934/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/277e510bf1abe6f37d168a61da467e00eec046ffd58d2e92cd96daa4e46afe20/modelcontextprotocol/python-sdk/pull/2934
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/277e510bf1abe6f37d168a61da467e00eec046ffd58d2e92cd96daa4e46afe20/modelcontextprotocol/python-sdk/pull/2934
og:image:altTwo related fixes to the stateful StreamableHTTPServerTransport so concurrent requests can't wedge each other and event-store ordering doesn't depend on scheduler timing. Buffer the per-req...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
None99aede4c5f55ec5cf06666a8c9e03ebf9f85f7231223e7f1c38c16e5504835b3
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
releaseecfd63ca125ec74b42f74eeb158b3fa081c8c497
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2934#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2934
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%2F2934
Sign uphttps://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%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2934
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2934
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2934
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues305 (305)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
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
fix/streamable-http-hol-bufferhttps://github.com/modelcontextprotocol/python-sdk/tree/fix/streamable-http-hol-buffer
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2934
Commits6 (6)https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2934/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/files
Buffer per-request StreamableHTTP streams to avoid serial-router head-of-line blockhttps://github.com/modelcontextprotocol/python-sdk/pull/2934#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
fix/streamable-http-hol-bufferhttps://github.com/modelcontextprotocol/python-sdk/tree/fix/streamable-http-hol-buffer
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 20, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2934#issue-4707784716
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
#1764https://github.com/modelcontextprotocol/python-sdk/issues/1764
MCP Documentationhttps://modelcontextprotocol.io
#1764https://github.com/modelcontextprotocol/python-sdk/issues/1764
#1764https://github.com/modelcontextprotocol/python-sdk/issues/1764
#2145https://github.com/modelcontextprotocol/python-sdk/pull/2145
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 20, 2026 20:56https://github.com/modelcontextprotocol/python-sdk/pull/2934#event-26998891847
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2934#pullrequestreview-4538833446
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2934/files
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
maxisbeyhttps://github.com/maxisbey
June 22, 2026 10:48https://github.com/modelcontextprotocol/python-sdk/pull/2934#commits-pushed-b0b398c
https://github.com/maxisbey
Buffer per-request StreamableHTTP streams to avoid serial-router head…https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/b0b398c934ea1bbdadfe4725ccca6f708a6a96c0
b0b398chttps://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/b0b398c934ea1bbdadfe4725ccca6f708a6a96c0
#1764https://github.com/modelcontextprotocol/python-sdk/issues/1764
https://github.com/maxisbey
Store priming event before request dispatch so storage order == wire …https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/dde2df983e9b4550ac89a9bbbd13e12c5cdcbba4
dde2df9https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/dde2df983e9b4550ac89a9bbbd13e12c5cdcbba4
https://github.com/maxisbey
Mint priming before per-request state; cover old-pv replay pathhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/127b20942f73ca54d72b15865b150525b3ce9721
127b209https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/127b20942f73ca54d72b15865b150525b3ce9721
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/0f0234a48852d87bc632dfec34e93295503e955c..127b20942f73ca54d72b15865b150525b3ce9721
0f0234ahttps://github.com/modelcontextprotocol/python-sdk/commit/0f0234a48852d87bc632dfec34e93295503e955c
127b209https://github.com/modelcontextprotocol/python-sdk/commit/127b20942f73ca54d72b15865b150525b3ce9721
Compare https://github.com/modelcontextprotocol/python-sdk/compare/0f0234a48852d87bc632dfec34e93295503e955c..127b20942f73ca54d72b15865b150525b3ce9721
June 22, 2026 10:49https://github.com/modelcontextprotocol/python-sdk/pull/2934#event-27036782542
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 22, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2934#pullrequestreview-4543385912
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2934/files/127b20942f73ca54d72b15865b150525b3ce9721
tests/shared/test_streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/files/127b20942f73ca54d72b15865b150525b3ce9721#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
maxisbeyhttps://github.com/maxisbey
Jun 22, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2934#discussion_r3451664825
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
https://github.com/maxisbey
replay_sender finally + replace _mint_priming_event unit tests with e…https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/1f1cb4813b675afb5e845018bfb8998261018e76
1f1cb48https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/1f1cb4813b675afb5e845018bfb8998261018e76
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 22, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2934#pullrequestreview-4543714634
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2934/files/1f1cb4813b675afb5e845018bfb8998261018e76
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/files/1f1cb4813b675afb5e845018bfb8998261018e76#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
claudehttps://github.com/apps/claude
Jun 22, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2934#discussion_r3451945120
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
https://github.com/maxisbey
Generic 500 body in outer POST except; make leak-test assertion load-…https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/ac6cc7df8c9942ae987154880549fbb8ccbab07b
ac6cc7dhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/ac6cc7df8c9942ae987154880549fbb8ccbab07b
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 22, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2934#pullrequestreview-4544499222
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2934/files/ac6cc7df8c9942ae987154880549fbb8ccbab07b
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/files/ac6cc7df8c9942ae987154880549fbb8ccbab07b#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
claudehttps://github.com/apps/claude
Jun 22, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2934#discussion_r3452582364
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
https://github.com/maxisbey
Drop tautological priming-order unit test; cover retry_interval-None …https://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/45fcc1fb0914db86197a377bcf2d3479d9a52888
45fcc1fhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/commits/45fcc1fb0914db86197a377bcf2d3479d9a52888
https://github.com/apps/claude
claudehttps://github.com/apps/claude
Jun 22, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2934#pullrequestreview-4545489278
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2934/files/45fcc1fb0914db86197a377bcf2d3479d9a52888
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2934/files/45fcc1fb0914db86197a377bcf2d3479d9a52888#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
claudehttps://github.com/apps/claude
Jun 22, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2934#discussion_r3453366131
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1764https://github.com/modelcontextprotocol/python-sdk/issues/1764
#1764https://github.com/modelcontextprotocol/python-sdk/issues/1764
#1764https://github.com/modelcontextprotocol/python-sdk/issues/1764
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Jun 22, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2934#pullrequestreview-4545518590
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2934/files/45fcc1fb0914db86197a377bcf2d3479d9a52888
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
a527142https://github.com/modelcontextprotocol/python-sdk/commit/a5271423128ac76cbd171adad40e225d1c755522
Jun 22, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2934#event-27049273467
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 22, 2026 15:20https://github.com/modelcontextprotocol/python-sdk/pull/2934#event-27049275068
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 22, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2934#ref-pullrequest-4718197664
[v1.x] Buffer per-request StreamableHTTP streams; store priming event before dispatch #2948 https://github.com/modelcontextprotocol/python-sdk/pull/2948
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2934#issuecomment-4807961966
v2.0.0a3https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.0.0a3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-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%2Fpython-sdk%2Fpull%2F2934
https://github.com/apps/claude
claude[bot] https://github.com/apps/claude
https://github.com/modelcontextprotocol/python-sdk/pull/2934/files/45fcc1fb0914db86197a377bcf2d3479d9a52888
https://github.com/felixweinberger
felixweinberger https://github.com/felixweinberger
https://github.com/modelcontextprotocol/python-sdk/pull/2934/files/45fcc1fb0914db86197a377bcf2d3479d9a52888
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
Race condition in StreamableHTTP: zero-buffer memory streams cause deadlock with concurrent SSE responses https://github.com/modelcontextprotocol/python-sdk/issues/1764
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2934
https://github.com/maxisbey
https://github.com/felixweinberger
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.