Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
windows: fix single-accept mode for shared server sockets
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Aug 28, 2012
1 parent 2786737 commit 2418434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/child_process.js
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2418434

Please sign in to comment.