curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Feature request about curlinfo option returning resolver status/error code

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Sun, 17 Apr 2022 11:55:49 +0200 (CEST)

On Fri, 15 Apr 2022, Dmitry Karpov via curl-library wrote:

> So, I propose to add a new CURLINFO_RESOLVER_CODE info option, which will
> return the resolver status/code from the resolver backends that provide such
> codes (primarily c-ares).
>
> If libcurl core maintainers and community agree that it will be a useful
> feature, I can create a PR.

What values do you propose CURLINFO_RESOLVER_CODE would return ?

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-04-17