Handle SSE Disconnects Properly (#612)
This commit is contained in:
parent
5d8eaf77be
commit
83968b5b2f
1 changed files with 38 additions and 11 deletions
|
|
@ -589,6 +589,7 @@ class FastMCP:
|
|||
streams[1],
|
||||
self._mcp_server.create_initialization_options(),
|
||||
)
|
||||
return Response()
|
||||
|
||||
# Create routes
|
||||
routes: list[Route | Mount] = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue