On Saturday, September 1, 2012 12:15:18 AM UTC+5:30, Ben Noordhuis wrote: > > Yes, unless you call process.exit(). >
Would that mean its safe to do process.kill(process.pid, 'SIGTERM'); to cleanly shutdown the server. but how do I disconnect existing clients? the docs say that after executing a "server.close()" the server stops accepting new connections and would eventually close when the server emits a 'close' event. Will server.close() actually gracefully disconnect the existing clients? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
