Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2012-08-28 02:26:29 +0400
committerBert Belder <bertbelder@gmail.com>2012-08-28 04:17:08 +0400
commit24184345688e1f545ffc87e5742de06ed9855007 (patch)
treea93047d9ed1e9bfba67ea32aef21f0c0c6d4d136 /lib
parent2786737417810c0a4f0b70ac80a9c298486de355 (diff)
windows: fix single-accept mode for shared server sockets
Diffstat (limited to 'lib')
-rw-r--r--lib/child_process.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/child_process.js b/lib/child_process.js
index 5b0c3f318bc..215da0bebd3 100644
--- a/lib/child_process.js
+++ b/lib/child_process.js
@@ -313,7 +313,8 @@ function setupChannel(target, channel) {
var obj = handleConversion[message.type];
// Update simultaneous accepts on Windows
- if (obj.simultaneousAccepts) {
+ if (process.platform === 'win32') {
+ handle._simultaneousAccepts = false;
net._setSimultaneousAccepts(handle);
}