Skip to content

Commit 693c44e

Browse files
authored
Update c-ares to 1.17.2 (envoyproxy#17704) (envoyproxy#17751)
Signed-off-by: Yan Avlasov <yavlasov@google.com>
1 parent 139c558 commit 693c44e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

bazel/foreign_cc/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ envoy_cmake_external(
9292
"//conditions:default": [],
9393
}),
9494
postfix_script = select({
95-
"//bazel:windows_x86_64": "cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/src/lib/nameser.h $INSTALLDIR/include/nameser.h && cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/include/ares_dns.h $INSTALLDIR/include/ares_dns.h",
95+
"//bazel:windows_x86_64": "cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/src/lib/ares_nameser.h $INSTALLDIR/include/ares_nameser.h && cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/include/ares_dns.h $INSTALLDIR/include/ares_dns.h",
9696
"//conditions:default": "cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/include/ares_dns.h $INSTALLDIR/include/ares_dns.h",
9797
}),
9898
static_libraries = select({

bazel/repository_locations.bzl

+3-3
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ REPOSITORY_LOCATIONS_SPEC = dict(
117117
project_name = "c-ares",
118118
project_desc = "C library for asynchronous DNS requests",
119119
project_url = "https://c-ares.haxx.se/",
120-
version = "1.17.1",
121-
sha256 = "d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40",
120+
version = "1.17.2",
121+
sha256 = "4803c844ce20ce510ef0eb83f8ea41fa24ecaae9d280c468c582d2bb25b3913d",
122122
strip_prefix = "c-ares-{version}",
123123
urls = ["https://github.com/c-ares/c-ares/releases/download/cares-{underscore_version}/c-ares-{version}.tar.gz"],
124124
use_category = ["dataplane_core", "controlplane"],
125-
release_date = "2020-11-19",
125+
release_date = "2021-08-10",
126126
cpe = "cpe:2.3:a:c-ares_project:c-ares:*",
127127
),
128128
com_github_circonus_labs_libcircllhist = dict(

test/common/network/dns_impl_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#include <arpa/nameser.h>
3636
#include <arpa/nameser_compat.h>
3737
#else
38-
#include "nameser.h"
38+
#include "ares_nameser.h"
3939
#endif
4040

4141
using testing::_;

0 commit comments

Comments
 (0)