Skip to content

Server and server transport needs to provide closure notification #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stephentoub opened this issue Mar 20, 2025 · 1 comment
Closed
Assignees

Comments

@stephentoub
Copy link
Contributor

stephentoub commented 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

@stephentoub 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
@eiriktsarpalis eiriktsarpalis self-assigned this Mar 24, 2025
@halter73
Copy link
Contributor

Fixed by #122/#142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants