gracefully close open sockets in a http server
http-close keeps track on open sockets and closes them gracefully when the tcp server is closeing.
It does not handle
var http = require'http'httpClose = require'http-close'var server = httpcreateServer// Add http-close hookhttpClose timeout: 2000 server// Just call server.close as usual when you want to stop the serverserverclose
$ npm install http-close