-
Notifications
You must be signed in to change notification settings - Fork 2.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 fixes #15864
DNS fixes #15864
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After each request is sent or fulfilled, we should check if there are still any in-flight requests and if there are no longer any, then cancel the timer so that we don't keep the process alive longer than necessary.
A helper method for updating the timer state would be a good idea I think
return globalThis.throwInvalidArgumentType("setServers", "triple", "array"); | ||
} | ||
|
||
const family = JSValue.getIndex(triple, globalThis, 0).toInt32(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be a great use-case for the bindings generator @paperdave
Co-authored-by: Jarred Sumner <[email protected]>
1f98482
to
7a7c60c
Compare
What does this PR do?
Adds some DNS tests and the changes that caused them to start passing.
How did you verify your code works?
Added tests from Node.