Skip to content
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

cares: fix set_servers during active queries #899

Closed
wants to merge 1 commit into from

Conversation

indutny
Copy link
Member

@indutny indutny commented Feb 20, 2015

ares_set_servers() should terminate all active queries to previous
servers before destroying them.

When invoking query callback remove it from the queue, to ensure that it
won't be called two times.

Fix: #894

NOTE: One of two proposed fixes, see #894

`ares_set_servers()` should terminate all active queries to previous
servers before destroying them.

When invoking query callback remove it from the queue, to ensure that it
won't be called two times.

Fix: nodejs#894
@saghul
Copy link
Member

saghul commented Feb 20, 2015

Are you upstreaming this? Also, shouldn't this go to https://github.com/piscisaureus/cares ?

@indutny
Copy link
Member Author

indutny commented Feb 20, 2015

@saghul I'm going to do it the other way around without changes to cares. Thanks!

@indutny indutny closed this Feb 20, 2015
@indutny indutny deleted the fix/gh-894 branch February 20, 2015 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants