forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cluster: handle bind errors on Windows
Before sending a socket from a cluster master to a worker, we would call listen in UV but not handle the error. I made createServerHandle call listen on Windows so we get a chance the handle any bind/listen errors early. This fix is 100% windows specific. It fixes test-cluster-bind-twice and test-cluster-shared-handle-bind-error on Windows.
- Loading branch information
1 parent
e7a03f1
commit 3da36fe
Showing
1 changed file
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters