isahc icon indicating copy to clipboard operation
isahc copied to clipboard

Setting DNS servers

Open DBLouis opened this issue 2 years ago • 2 comments

Would you consider re-adding this functionality under a non-default cargo feature?

9cec74c624307f489d1a891fe7636876fc05ea6c

DBLouis avatar Nov 16 '21 08:11 DBLouis

I might consider restoring such an option under an optional feature. Since it only works when curl is compiled with c-ares support (which it typically isn't) it should retain a pretty clear warning label as such.

I was also not a fan of the previous warn-by-default behavior. If possible the API ought to error early if the option is not supported at runtime.

sagebind avatar Nov 17 '21 03:11 sagebind

I made a PR at alexcrichton/curl-rust#427

DBLouis avatar Nov 23 '21 13:11 DBLouis