You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Especially for the stdio transport, the server process logic needs to be able to exit when the client disconnects. It can't rely on the client always doing the "right thing". and killing the server process.
The getting started server code should be able to just await the completion of the stdio server.
The text was updated successfully, but these errors were encountered:
stephentoub
changed the title
Server and server transport needs to provide closire notification
Server and server transport needs to provide closure notification
Mar 20, 2025
This could be a CompletedTask or similar.
Especially for the stdio transport, the server process logic needs to be able to exit when the client disconnects. It can't rely on the client always doing the "right thing". and killing the server process.
The getting started server code should be able to just await the completion of the stdio server.
cc: @halter73
The text was updated successfully, but these errors were encountered: