0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/lib
Andreas Madsen d927fbc9ab cluster: add graceful disconnect support
This patch add a worker.disconnect() method there will stop the worker from accepting
new connections and then stop the IPC. This allow the worker to die graceful.
When the IPC has been disconnected a 'disconnect' event will emit.

The patch also add a cluster.disconnect() method, this will call worker.disconnect() on
all connected workers. When the workers are disconneted it will then close all server
handlers. This allow the cluster itself to self terminate in a graceful way.
2012-03-19 13:29:01 -07:00
..
_debugger.js debugger: breakOnException 2012-03-19 22:21:29 +06:00
_linklist.js
assert.js docs: correct the description of assert.ok() 2012-03-12 02:27:55 +01:00
buffer_ieee754.js Fixed a lot of jslint errors. 2011-10-05 18:51:06 -07:00
buffer.js buffer: don't pollute global namespace in buffer.readInt* 2011-12-22 23:26:43 +01:00
child_process.js child_process: emit 'channel closed' error instead of throwing 2012-03-19 11:55:41 -07:00
cluster.js cluster: add graceful disconnect support 2012-03-19 13:29:01 -07:00
console.js Fixes #1860. Remove process.writeError 2011-10-18 13:12:50 -07:00
constants.js
crypto.js crypto: add function getDiffieHellman() 2012-02-21 14:07:25 +01:00
dgram.js dgram: fix when we call .close() inside 'listening' 2012-03-06 22:20:23 +01:00
dns.js Lint all the JavaScripts. 2012-02-18 15:34:57 -08:00
events.js events: don't delete the listeners array in removeListener() 2012-03-15 17:01:29 -07:00
freelist.js
fs.js [ISSUE #2554 #2567] throw if fs args for 'start' or 'end' are strings 2012-02-27 14:18:51 -08:00
http.js Emit end event only once 2012-03-07 13:37:39 -08:00
https.js net, http, https: add localAddress option 2012-03-06 13:35:49 +01:00
module.js module: remove 'exited', replace 'children' array 2012-03-12 10:27:11 -07:00
net.js net, http, https: add localAddress option 2012-03-06 13:35:49 +01:00
os.js Lint all the JavaScripts. 2012-02-18 15:34:57 -08:00
path.js Lint all the JavaScripts. 2012-02-18 15:34:57 -08:00
punycode.js punycode: Update to v1.0.0 2012-02-27 14:00:18 -08:00
querystring.js lint, missed in QS speed merge 2012-02-22 20:58:24 -08:00
readline.js readline: ignore stray escape sequence 2012-03-07 15:05:34 +01:00
repl.js debugger: remove 'repl' command from builtinLibs 2012-03-19 22:21:28 +06:00
stream.js Remove support for multi-source pipe() 2011-11-22 08:51:19 -08:00
string_decoder.js
sys.js require('sys') now throws 2012-01-09 12:59:28 -08:00
timers.js timers: handle negative or non-numeric timeout values 2012-03-15 13:56:30 -07:00
tls.js tls: parsing multiple values of a key in ssl certificate 2012-03-10 23:43:16 +09:00
tty.js tty: emit 'unknown' key event if key sequence not found 2012-01-28 17:01:04 +01:00
url.js Ignore an empty port component when parsing URLs. 2012-03-12 12:46:56 -07:00
util.js util: fix util.format() formatting of %% 2012-03-03 18:22:34 +01:00
vm.js lint 2012-03-03 23:48:57 -08:00
zlib.js Added destroy method to Zlib object in zlib.js module 2012-03-13 08:24:09 -07:00