http-terminator
http-terminator copied to clipboard
Gracefully terminates HTTP(S) server.
The documentation says that the default gracefulShutdownTimeout is 5000ms but actually it is 1000ms. Changed the config to have 5000ms, the value specified in the docs.
Hello. I think this is a great library, but the points made by the author of `lil-http-terminator` are very valid. That author has removed a lot of unnecessary dependencies and...
I'm writing a http connect forwarding proxy. And we have to handle the `connect` event. This library associated a `connection` event that will eventually either destroy the socket, or handle...
It would be great to get an example of how to combine http-terminator with Node Cluster. https://nodejs.org/api/cluster.html https://rowanmanning.com/posts/node-cluster-and-express/
Is it a typo in codes or docs?
With simple usage just as with the `express` example on the `README`, the `express` listener is still running from the `return` statement in the snippet from `node_modules/express/lib/application.js` below: ```javascript app.listen...
In https://github.com/gajus/http-terminator/commit/aabca4751552e983f8a59ba896b7fb58ce3b4087 you added the type `Http2SecureServer`. Would it also be possible to add the `Http2Server` type from the node `http2` module? I am happy to PR this if it's...
Small question here! I know that http-terminator tracks some state about the server, e.g. active sockets, in order to do its job. Does that imply that the terminator needs to...
Running on node 14.15.5 gives an error: ``` /Users/agoldis/currents-demo/node_modules/fast-json-stringify/index.js:83 rootSchemaId = schema.$id || randomUUID() ^ TypeError: randomUUID is not a function at build (/Users/agoldis/currents-demo/node_modules/fast-json-stringify/index.js:83:32) at Object. (/Users/agoldis/currents-demo/node_modules/roarr/dist/src/Roarr.js:15:57) ``` However, `engines`...