-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dgram reuseAddr not working with cluster #2604
Comments
I just tried that code on master on Linux and it works for me. |
@mscdex Have you run two or more instance the same time? |
I see what you mean now. I have a fix incoming... |
Thanks @mscdex , and I have some questions:
Thanks a lot. |
|
|
|
Thanks.
|
|
Fixed by c7be08c. |
Hi, it seems that
reuseAddr
is not working well with cluster module, when we bind dgram socket ina worker process. The following case runs well, I could run this program for two or more instances without an EADDRINUSE error, this is the except behavior.
But this EADDRINUSE error occurred when the socket was created and bound in a cluster worker:
Tested with node 0.12.2 and iojs 2.0.2
Is this a bug or a feature?
The text was updated successfully, but these errors were encountered: