Skip to content
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

Gracefully close connections on server shutdown #306

Open
djones6 opened this issue Jul 31, 2019 · 0 comments
Open

Gracefully close connections on server shutdown #306

djones6 opened this issue Jul 31, 2019 · 0 comments

Comments

@djones6
Copy link
Contributor

djones6 commented Jul 31, 2019

See Kitura/SwiftyRequest#69

The analysis of an issue involving failures from a shared URLSession when the server is repeatedly stopped/started concluded that the issue relates to when the HTTPServer is stopped, and any open connections are abruptly closed. Curl doesn't seem to handle this well.

This was resolved for Kitura-NIO under Kitura/Kitura-NIO#216 where we concluded that connections should be closed gracefully on server stop. The same should be applied to Kitura-net.

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

No branches or pull requests

1 participant