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

[WIP] Exposing curl_version_info to ruby, supports_asynch_dns? helper #90

Merged
merged 3 commits into from
Jun 9, 2015

Conversation

jwagner
Copy link
Contributor

@jwagner jwagner commented Aug 29, 2014

This is a first step to improve the timeout handling in typhoeus. It exposes curl_version_info and uses it to provide a supports_timeout_ms? helper. This still needs verification The benefit over just checking for c-ares in the version string (in addition to using the proper api to query it) is that it should also work for the threaded resolver and other (future) async resolvers.

@hanshasselberg
Copy link
Member

Is this still work in progress?

@jwagner
Copy link
Contributor Author

jwagner commented Jun 9, 2015

@i0rek I'm not 100% sure about it anymore. I think it could be merged, and would then allow proper feature detection. I'm not sure if that's actually needed/wanted. If it's not really needed it could also just be dropped/closed, I don't see any reason for lugging around code that is not used.

@hanshasselberg
Copy link
Member

Thanks. I like it better than what there is right now.

hanshasselberg added a commit that referenced this pull request Jun 9, 2015
[WIP] Exposing curl_version_info to ruby, supports_asynch_dns? helper
@hanshasselberg hanshasselberg merged commit db95d73 into typhoeus:master Jun 9, 2015
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