curl/m4
Daniel Stenberg 0d4fdbf15d
asyn-thread: use c-ares to resolve HTTPS RR
Allow building with c-ares and yet use threaded resolver for the main
host A/AAAA resolving:

  `--with-ares` provides the c-ares install path and defaults to use
  c-ares for name resolving

  `--with-threaded-resolver` still uses c-ares in the build (for HTTPS)
  but uses the threaded resolver for "normal" resolves.

It works similarly for cmake: ENABLE_ARES enables ares, and if
ENABLE_THREADED_RESOLVER also is set, c-ares is used for HTTPS RR and
the threaded resolver for "normal" resolves.

HTTPSRR and c-ares-rr are new features return by curl_version_info() and
thus shown by curl -V.

The c-ares-rr feature bit is there to make it possible to distinguish
between builds using c-ares for all name resolves and builds that use
the threaded resolves for the regular name resolves and c-ares for
HTTPSRR only. "c-ares-rr" means it does not use c-ares for "plain" name
resolves.

HTTPSRR support is EXPERIMENTAL only.

Closes #16054
2025-01-25 23:46:14 +01:00
..
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-amissl.m4 Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl-bearssl.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-compilers.m4 build: fix compiling with GCC 4.x versions 2025-01-22 11:26:15 +01:00
curl-confopts.m4 asyn-thread: use c-ares to resolve HTTPS RR 2025-01-25 23:46:14 +01:00
curl-functions.m4 curl-functions.m4: fix indentation in CURL_SIZEOF() 2025-01-13 02:44:41 +01:00
curl-gnutls.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-mbedtls.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-openssl.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-override.m4 tidy-up: indent, whitespace, #error in make files 2024-09-22 09:51:15 +02:00
curl-reentrant.m4 tidy-up: indentation in autotools sources 2024-09-25 09:10:45 +02:00
curl-rustls.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-schannel.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-sectransp.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-sysconfig.m4 configure: do not echo most inherited LDFLAGS to config files 2024-11-14 09:55:45 +01:00
curl-wolfssl.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
xc-am-iface.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-cc-check.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-lt-iface.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-val-flgs.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
zz40-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
zz50-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
zz60-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00