Handle SSE Disconnects Properly (#612)

This commit is contained in:
Akash D 2025-05-02 09:32:46 -07:00 • committed by GitHub
commit 83968b5b2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -589,6 +589,7 @@ class FastMCP:
streams[1],
self._mcp_server.create_initialization_options(),
)
return Response()
# Create routes
routes: list[Route | Mount] = []