issues
search
superfly
/
fly.rs
Fly Edge Application runtime.
https://fly.io
MIT License
39
stars
7
forks
source link
Graceful HTTP server shutdown
#52
Closed
jeromegn
closed
5 years ago
jeromegn
commented
5 years ago
This fixes #51
Intercepts SIGINT and SIGTERM
Tells the hyper server to gracefully stop (waits for current requests to finish, closes connections)
Disposes of each runtime currently running (eventually we could have an event in JS like
"dispose"
)
Unifies both the non-TLS server and TLS server as just a stream of connections
Small fixups everywhere (rust 2018, small changes)
This fixes #51
"dispose"
)