-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
dns: occasionally crashing in resolve4 and setServers #14734
Labels
cares
Issues and PRs related to the c-ares dependency or the cares_wrap binding.
confirmed-bug
Issues with confirmed bugs.
dns
Issues and PRs related to the dns subsystem.
Comments
I'm going to fix this issue. I think I know where the problem is, but I need some time to fix it. |
XadillaX
added
cares
Issues and PRs related to the c-ares dependency or the cares_wrap binding.
confirmed-bug
Issues with confirmed bugs.
dns
Issues and PRs related to the dns subsystem.
labels
Aug 10, 2017
3 tasks
XadillaX
added a commit
to XadillaX/node
that referenced
this issue
Nov 15, 2017
Fix this issue follow these two points: 1. Keep track of how many queries are currently open. If `setServers()` is called while there are open queries, error out. 2. For `Resolver` instances, use option 1. For dns.setServers(), just create a fresh new default channel every time it is called, and then set its servers list. Fixes: nodejs#14734
MylesBorins
pushed a commit
that referenced
this issue
Dec 12, 2017
Fix this issue follow these two points: 1. Keep track of how many queries are currently open. If `setServers()` is called while there are open queries, error out. 2. For `Resolver` instances, use option 1. For dns.setServers(), just create a fresh new default channel every time it is called, and then set its servers list. PR-URL: #14891 Fixes: #14734 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Dec 12, 2017
Fix this issue follow these two points: 1. Keep track of how many queries are currently open. If `setServers()` is called while there are open queries, error out. 2. For `Resolver` instances, use option 1. For dns.setServers(), just create a fresh new default channel every time it is called, and then set its servers list. PR-URL: #14891 Fixes: #14734 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
3 tasks
XadillaX
added a commit
to XadillaX/node
that referenced
this issue
Jan 25, 2018
Fix this issue follow these two points: 1. Keep track of how many queries are currently open. If `setServers()` is called while there are open queries, error out. 2. For `Resolver` instances, use option 1. For dns.setServers(), just create a fresh new default channel every time it is called, and then set its servers list. Fixes: nodejs#14734
gibfahn
pushed a commit
that referenced
this issue
Feb 19, 2018
Fix this issue follow these two points: 1. Keep track of how many queries are currently open. If `setServers()` is called while there are open queries, error out. 2. For `Resolver` instances, use option 1. For dns.setServers(), just create a fresh new default channel every time it is called, and then set its servers list. Fixes: #14734 PR-URL: #14891 Backport-PR-URL: #17778 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
I monkey patched BTW: It's a duplicate of #894. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cares
Issues and PRs related to the c-ares dependency or the cares_wrap binding.
confirmed-bug
Issues with confirmed bugs.
dns
Issues and PRs related to the dns subsystem.
Here's the code:
And the Node.js will occasionally crash with:
The text was updated successfully, but these errors were encountered: