fix: propagate SSE stream errors to waiting requests#2122
Open
heyhayes wants to merge 5 commits intomodelcontextprotocol:mainmodelcontextprotocol/python-sdk:mainfrom
heyhayes:fix/sse-error-propagation-1401heyhayes/python-sdk:fix/sse-error-propagation-1401Copy head branch name to clipboard
Open
fix: propagate SSE stream errors to waiting requests#2122heyhayes wants to merge 5 commits intomodelcontextprotocol:mainmodelcontextprotocol/python-sdk:mainfrom heyhayes:fix/sse-error-propagation-1401heyhayes/python-sdk:fix/sse-error-propagation-1401Copy head branch name to clipboard
heyhayes wants to merge 5 commits intomodelcontextprotocol:mainmodelcontextprotocol/python-sdk:mainfrom
heyhayes:fix/sse-error-propagation-1401heyhayes/python-sdk:fix/sse-error-propagation-1401Copy head branch name to clipboard
Commits
Commits on Feb 21, 2026
fix: change _handle_reconnection to return bool and fix infinite recursion
Show description for ddd2a37committedfix: propagate error when SSE stream ends without a response
Show description for 75cd668committedfix: stop infinite GET stream reconnection on repeated empty connections
Show description for 0efb392committedLog warning for unhandled exceptions in default message handler
Show description for ae0bc81committedtest: cover branch where reconnection exhausts max attempts
Show description for f0af07ecommitted