windows: fix single-accept mode for shared server sockets
This commit is contained in:
parent
2786737417
commit
2418434568
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user