Kitura-net icon indicating copy to clipboard operation
Kitura-net copied to clipboard

Gracefully close connections on server shutdown

Open djones6 opened this issue 6 years ago • 0 comments

See IBM-Swift/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 https://github.com/IBM-Swift/Kitura-NIO/issues/216 where we concluded that connections should be closed gracefully on server stop. The same should be applied to Kitura-net.

djones6 avatar Jul 31 '19 09:07 djones6