alexcrichton / alexcrichton/curl-rust

Option to compile static curl with c-ares

Open
#327 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
1.1k
Forks
258
PR merge metrics
No merged PRs in 30d

Description

It might be interesting to allow users to compile libcurl with c-ares as the DNS resolver. We might be able to just add [c-ares-sys](https://crates.io/crates/c-ares-sys) behind a feature flag and point the libcurl build process to the bundled c-ares.

I'm not sure what best practices are for using c-ares, but in theory c-ares yields better performance or responsiveness for certain workloads that require looking up lots of unique URLs (web crawling, for example), as well as enables a few extra DNS features.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.