diff options
author | Bert Belder <bertbelder@gmail.com> | 2012-08-28 02:26:29 +0400 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-08-28 04:17:08 +0400 |
commit | 24184345688e1f545ffc87e5742de06ed9855007 (patch) | |
tree | a93047d9ed1e9bfba67ea32aef21f0c0c6d4d136 /lib | |
parent | 2786737417810c0a4f0b70ac80a9c298486de355 (diff) |
windows: fix single-accept mode for shared server sockets
Diffstat (limited to 'lib')
-rw-r--r-- | lib/child_process.js | 3 |
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); } |