]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
version: rename c-ares-rr to asyn-rr
authorDaniel Stenberg <daniel@haxx.se>
Sun, 26 Jan 2025 11:23:33 +0000 (12:23 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 27 Jan 2025 07:11:44 +0000 (08:11 +0100)
Works better if we later introduce another way to do the asynch RR
resolves (together with the threaded resolver) that does not use c-ares.

Closes #16090

CMakeLists.txt
configure.ac
docs/HTTPSRR.md
docs/libcurl/curl_version_info.md
lib/version.c
tests/FILEFORMAT.md
tests/runtests.pl

index 1987cb1ac89f955dd842585230a50ec1d525c0bd..70d9426d47ca94ae13c7c0771fdf7cd130aab482 100644 (file)
@@ -2107,7 +2107,7 @@ curl_add_if("brotli"        HAVE_BROTLI)
 curl_add_if("gsasl"         USE_GSASL)
 curl_add_if("zstd"          HAVE_ZSTD)
 curl_add_if("AsynchDNS"     USE_ARES OR USE_THREADS_POSIX OR USE_THREADS_WIN32)
-curl_add_if("c-ares-rr"     USE_ARES AND ENABLE_THREADED_RESOLVER)
+curl_add_if("asyn-rr"       USE_ARES AND ENABLE_THREADED_RESOLVER)
 curl_add_if("IDN"           (HAVE_LIBIDN2 AND HAVE_IDN2_H) OR
                             USE_WIN32_IDN OR
                             USE_APPLE_IDN)
index a67dc76064de71ddd6918cc31f32f641b9584938..5f7014fca8829b90215003151dcd81bf75c355fd 100644 (file)
@@ -5018,7 +5018,7 @@ if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
   SUPPORT_FEATURES="$SUPPORT_FEATURES AsynchDNS"
 fi
 if test "x$USE_ARES" = "x1" -a "$want_threaded_resolver" = "yes"; then
-  SUPPORT_FEATURES="$SUPPORT_FEATURES c-ares-rr"
+  SUPPORT_FEATURES="$SUPPORT_FEATURES asyn-rr"
 fi
 if test "x$IDN_ENABLED" = "x1"; then
   SUPPORT_FEATURES="$SUPPORT_FEATURES IDN"
index bd40d4e000ab4ff52b5631d2aaf350093624422f..9f653e622f8756f5b3500461e9e9ea9e14d10a18 100644 (file)
@@ -25,9 +25,9 @@ curl features **experimental** support for HTTPS RR.
 HTTPS RR support. If c-ares is not included in the build, the HTTPS RR support
 is limited to DoH.
 
-`c-ares-rr` is listed as a feature in the `curl -V` output if c-ares is used
-for additional resolves in addition to a "normal" resolve done with the
-threaded resolver.
+`asyn-rr` is listed as a feature in the `curl -V` output if c-ares is used for
+additional resolves in addition to a "normal" resolve done with the threaded
+resolver.
 
 The data extracted from the HTTPS RR is stored in the in-memory DNS cache to
 be reused on subsequent uses of the same hostnames.
index ed22a54df955513e9397d0ebad6c9f785028be15..3b8dec75f380aae891decc4e0923496e7ec909c1 100644 (file)
@@ -171,7 +171,7 @@ interface. (added in 7.10.7)
 
 supports HTTP Brotli content encoding using libbrotlidec (Added in 7.57.0)
 
-## `c-ares-rr`
+## `asyn-rr`
 
 *features* mask bit: non-existent
 
index 0fcfed037961b89dcfa3d0a1fbd703502180e4e8..f32969ebe55bc4cd9dd4644b99cd1de5329287c5 100644 (file)
@@ -461,15 +461,15 @@ static const struct feat features_table[] = {
 #ifndef CURL_DISABLE_ALTSVC
   FEATURE("alt-svc",     NULL,                CURL_VERSION_ALTSVC),
 #endif
+#if defined(USE_ARES) && defined(CURLRES_THREADED) && defined(USE_HTTPSRR)
+  FEATURE("asyn-rr", NULL,             0),
+#endif
 #ifdef CURLRES_ASYNCH
   FEATURE("AsynchDNS",   NULL,                CURL_VERSION_ASYNCHDNS),
 #endif
 #ifdef HAVE_BROTLI
   FEATURE("brotli",      NULL,                CURL_VERSION_BROTLI),
 #endif
-#if defined(CURLRES_ARES) && defined(CURLRES_THREADED)
-  FEATURE("c-ares-rr", NULL,             0),
-#endif
 #ifdef DEBUGBUILD
   FEATURE("Debug",       NULL,                CURL_VERSION_DEBUG),
 #endif
index 5b5f82dea47c6eb86aecf55a8ad53d5625a80f4b..c408999249eb63dd193811b6388460b8d9678601 100644 (file)
@@ -436,10 +436,10 @@ Features testable here are:
 
 - `alt-svc`
 - `AppleIDN`
+- `asyn-rr` - c-ares is used for additional records only
 - `bearssl`
 - `brotli`
 - `c-ares` - c-ares is used for (all) name resolves
-- `c-ares-rr` - c-ares is used for additional records only
 - `CharConv`
 - `codeset-utf8`. If the running codeset is UTF-8 capable.
 - `cookies`
index 9ec2b8ca45a05e3cb125f5ee9e62b5bb40bd9a56..da9caebfc2c51b9288f5732b78d28094d51588c3 100755 (executable)
@@ -699,7 +699,7 @@ sub checksystemfeatures {
             # Thread-safe init
             $feature{"threadsafe"} = $feat =~ /threadsafe/i;
             $feature{"HTTPSRR"} = $feat =~ /HTTPSRR/;
-            $feature{"c-ares-rr"} = $feat =~ /c-ares-rr/;
+            $feature{"asyn-rr"} = $feat =~ /asyn-rr/;
         }
         #
         # Test harness currently uses a non-stunnel server in order to