GeezerVison is showing github.com — deps: update c-ares to v1.32.3 · nodejs/node@1061898
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: deps/cares/CMakeLists.txt +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,7 @@ INCLUDE (CheckCSourceCompiles) | 12 | 12 | INCLUDE (CheckStructHasMember) | 13 | 13 | INCLUDE (CheckLibraryExists) | 14 | 14 |
| 15 | | -PROJECT (c-ares LANGUAGES C VERSION "1.32.2" ) | | 15 | +PROJECT (c-ares LANGUAGES C VERSION "1.32.3" ) | 16 | 16 |
| 17 | 17 | # Set this version before release | 18 | 18 | SET (CARES_VERSION "${PROJECT_VERSION}") | @@ -30,7 +30,7 @@ INCLUDE (GNUInstallDirs) # include this *AFTER* PROJECT(), otherwise paths are w | 30 | 30 | # For example, a version of 4:0:2 would generate output such as: | 31 | 31 | # libname.so -> libname.so.2 | 32 | 32 | # libname.so.2 -> libname.so.2.2.0 | 33 | | -SET (CARES_LIB_VERSIONINFO "19:2:17") | | 33 | +SET (CARES_LIB_VERSIONINFO "19:3:17") | 34 | 34 |
| 35 | 35 |
| 36 | 36 | OPTION (CARES_STATIC "Build as a static library" OFF) | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/RELEASE-NOTES.md +26Lines changed: 26 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +## c-ares version 1.32.3 - July 24 2024 | | 2 | + | | 3 | +This is a bugfix release. | | 4 | + | | 5 | +Changes: | | 6 | +* Prevent complex recursion during query requeuing and connection cleanup for | | 7 | + stability. [e8b32b8](https://github.com/c-ares/c-ares/commit/e8b32b8) | | 8 | +* Better propagate error codes on requeue situations. | | 9 | + [a9bc0a2](https://github.com/c-ares/c-ares/commit/a9bc0a2) | | 10 | +* Try to prevent SIGPIPE from being generated and delivered to integrations. | | 11 | + [de01baa](https://github.com/c-ares/c-ares/commit/de01baa) | | 12 | + | | 13 | +Bugfixes: | | 14 | +* Missing manpage for `ares_dns_record_set_id()` | | 15 | + [aa462b3](https://github.com/c-ares/c-ares/commit/aa462b3) | | 16 | +* Memory leak in `ares__hosts_entry_to_hostent()` due to allocation strategy. | | 17 | + [PR #824](https://github.com/c-ares/c-ares/pull/824) | | 18 | +* UDP write failure detected via ICMP unreachable should trigger faster | | 19 | + failover. [PR #821](https://github.com/c-ares/c-ares/pull/821) | | 20 | +* Fix pycares test case regression due to wrong error code being returned. | | 21 | + Regression from 1.31.0. [PR #820](https://github.com/c-ares/c-ares/pull/820) | | 22 | +* Fix possible Windows crash during `ares_destroy()` when using event threads. | | 23 | + [5609bd4](https://github.com/c-ares/c-ares/commit/5609bd4) | | 24 | +* `ARES_OPT_MAXTIMEOUTMS` wasn't being honored in all cases. | | 25 | + [a649c60](https://github.com/c-ares/c-ares/commit/a649c60) | | 26 | + | 1 | 27 | ## c-ares version 1.32.2 - July 15 2024 | 2 | 28 |
| 3 | 29 | This is a bugfix release. | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/aminclude_static.am +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 |
| 2 | 2 | # aminclude_static.am generated automatically by Autoconf | 3 | | -# from AX_AM_MACROS_STATIC on Mon Jul 15 09:00:09 EDT 2024 | | 3 | +# from AX_AM_MACROS_STATIC on Wed Jul 24 05:40:58 EDT 2024 | 4 | 4 |
| 5 | 5 |
| 6 | 6 | # Code coverage | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/configure +11-11Lines changed: 11 additions & 11 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | #! /bin/sh | 2 | 2 | # Guess values for system-dependent variables and create Makefiles. | 3 | | -# Generated by GNU Autoconf 2.72 for c-ares 1.32.2. | | 3 | +# Generated by GNU Autoconf 2.72 for c-ares 1.32.3. | 4 | 4 | # | 5 | 5 | # Report bugs to <c-ares mailing list: http://lists.haxx.se/listinfo/c-ares>. | 6 | 6 | # | @@ -614,8 +614,8 @@ MAKEFLAGS= | 614 | 614 | # Identity of this package. | 615 | 615 | PACKAGE_NAME='c-ares' | 616 | 616 | PACKAGE_TARNAME='c-ares' | 617 | | -PACKAGE_VERSION='1.32.2' | 618 | | -PACKAGE_STRING='c-ares 1.32.2' | | 617 | +PACKAGE_VERSION='1.32.3' | | 618 | +PACKAGE_STRING='c-ares 1.32.3' | 619 | 619 | PACKAGE_BUGREPORT='c-ares mailing list: http://lists.haxx.se/listinfo/c-ares' | 620 | 620 | PACKAGE_URL='' | 621 | 621 |
| @@ -1415,7 +1415,7 @@ if test "$ac_init_help" = "long"; then | 1415 | 1415 | # Omit some internal or obsolete options to make the list less imposing. | 1416 | 1416 | # This message is too long to be a string in the A/UX 3.1 sh. | 1417 | 1417 | cat <<_ACEOF | 1418 | | -'configure' configures c-ares 1.32.2 to adapt to many kinds of systems. | | 1418 | +'configure' configures c-ares 1.32.3 to adapt to many kinds of systems. | 1419 | 1419 |
| 1420 | 1420 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1421 | 1421 |
| | 1486 | 1486 |
| 1487 | 1487 | if test -n "$ac_init_help"; then | 1488 | 1488 | case $ac_init_help in | 1489 | | - short | recursive ) echo "Configuration of c-ares 1.32.2:";; | | 1489 | + short | recursive ) echo "Configuration of c-ares 1.32.3:";; | 1490 | 1490 | esac | 1491 | 1491 | cat <<\_ACEOF | 1492 | 1492 |
| | 1623 | 1623 | test -n "$ac_init_help" && exit $ac_status | 1624 | 1624 | if $ac_init_version; then | 1625 | 1625 | cat <<\_ACEOF | 1626 | | -c-ares configure 1.32.2 | | 1626 | +c-ares configure 1.32.3 | 1627 | 1627 | generated by GNU Autoconf 2.72 | 1628 | 1628 |
| 1629 | 1629 | Copyright (C) 2023 Free Software Foundation, Inc. | @@ -2267,7 +2267,7 @@ cat >config.log <<_ACEOF | 2267 | 2267 | This file contains any messages produced by compilers while | 2268 | 2268 | running configure, to aid debugging if configure makes a mistake. | 2269 | 2269 |
| 2270 | | -It was created by c-ares $as_me 1.32.2, which was | | 2270 | +It was created by c-ares $as_me 1.32.3, which was | 2271 | 2271 | generated by GNU Autoconf 2.72. Invocation command line was | 2272 | 2272 |
| 2273 | 2273 | $ $0$ac_configure_args_raw | @@ -3259,7 +3259,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3259 | 3259 |
| 3260 | 3260 |
| 3261 | 3261 |
| 3262 | | -CARES_VERSION_INFO="19:2:17" | | 3262 | +CARES_VERSION_INFO="19:3:17" | 3263 | 3263 |
| 3264 | 3264 |
| 3265 | 3265 |
| | 5999 | 5999 |
| 6000 | 6000 | # Define the identity of the package. | 6001 | 6001 | PACKAGE='c-ares' | 6002 | | - VERSION='1.32.2' | | 6002 | + VERSION='1.32.3' | 6003 | 6003 |
| 6004 | 6004 |
| 6005 | 6005 | printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h | @@ -26339,7 +26339,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 26339 | 26339 | # report actual input values of CONFIG_FILES etc. instead of their | 26340 | 26340 | # values after options handling. | 26341 | 26341 | ac_log=" | 26342 | | -This file was extended by c-ares $as_me 1.32.2, which was | | 26342 | +This file was extended by c-ares $as_me 1.32.3, which was | 26343 | 26343 | generated by GNU Autoconf 2.72. Invocation command line was | 26344 | 26344 |
| 26345 | 26345 | CONFIG_FILES = $CONFIG_FILES | @@ -26407,7 +26407,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ | 26407 | 26407 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26408 | 26408 | ac_cs_config='$ac_cs_config_escaped' | 26409 | 26409 | ac_cs_version="\\ | 26410 | | -c-ares config.status 1.32.2 | | 26410 | +c-ares config.status 1.32.3 | 26411 | 26411 | configured by $0, generated by GNU Autoconf 2.72, | 26412 | 26412 | with options \\"\$ac_cs_config\\" | 26413 | 26413 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/configure.ac +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -2,10 +2,10 @@ dnl Copyright (C) The c-ares project and its contributors | 2 | 2 | dnl SPDX-License-Identifier: MIT | 3 | 3 | AC_PREREQ([2.69]) | 4 | 4 |
| 5 | | -AC_INIT([c-ares], [1.32.2], | | 5 | +AC_INIT([c-ares], [1.32.3], | 6 | 6 | [c-ares mailing list: http://lists.haxx.se/listinfo/c-ares]) | 7 | 7 |
| 8 | | -CARES_VERSION_INFO="19:2:17" | | 8 | +CARES_VERSION_INFO="19:3:17" | 9 | 9 | dnl This flag accepts an argument of the form current[:revision[:age]]. So, | 10 | 10 | dnl passing -version-info 3:12:1 sets current to 3, revision to 12, and age to | 11 | 11 | dnl 1. | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/docs/Makefile.in +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -374,6 +374,7 @@ MANPAGES = ares_cancel.3 \ | 374 | 374 | ares_dns_record_rr_del.3 \ | 375 | 375 | ares_dns_record_rr_get.3 \ | 376 | 376 | ares_dns_record_rr_get_const.3 \ | | 377 | + ares_dns_record_set_id.3 \ | 377 | 378 | ares_dns_rec_type_fromstr.3 \ | 378 | 379 | ares_dns_rec_type_tostr.3 \ | 379 | 380 | ares_dns_rec_type_t.3 \ | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/docs/Makefile.inc +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -36,6 +36,7 @@ MANPAGES = ares_cancel.3 \ | 36 | 36 | ares_dns_record_rr_del.3 \ | 37 | 37 | ares_dns_record_rr_get.3 \ | 38 | 38 | ares_dns_record_rr_get_const.3 \ | | 39 | + ares_dns_record_set_id.3 \ | 39 | 40 | ares_dns_rec_type_fromstr.3 \ | 40 | 41 | ares_dns_rec_type_tostr.3 \ | 41 | 42 | ares_dns_rec_type_t.3 \ | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/docs/ares_dns_record.3 +17-6Lines changed: 17 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -32,6 +32,9 @@ ares_dns_record_t *ares_dns_record_duplicate(const ares_dns_record_t *dnsrec); | 32 | 32 |
| 33 | 33 | unsigned short ares_dns_record_get_id(const ares_dns_record_t *dnsrec); | 34 | 34 |
| | 35 | +ares_bool_t ares_dns_record_set_id(ares_dns_record_t *dnsrec, | | 36 | + unsigned short id); | | 37 | + | 35 | 38 | unsigned short ares_dns_record_get_flags(const ares_dns_record_t *dnsrec); | 36 | 39 |
| 37 | 40 | ares_dns_opcode_t ares_dns_record_get_opcode(const ares_dns_record_t *dnsrec); | @@ -343,6 +346,14 @@ message id from the DNS record provided in the | 343 | 346 | .IR dnsrec | 344 | 347 | parameter. | 345 | 348 |
| | 349 | +The \fIares_dns_record_set_id(3)\fP function is used to set the DNS | | 350 | +message id in the | | 351 | +.IR id | | 352 | +parameter from the DNS record provided in the | | 353 | +.IR dnsrec | | 354 | +parameter. This id will be overwritten when passing the record to c-ares, | | 355 | +so mostly exists for external purposes. | | 356 | + | 346 | 357 | The \fIares_dns_record_get_flags(3)\fP function is used to retrieve the DNS | 347 | 358 | message flags from the DNS record provided in the | 348 | 359 | .IR dnsrec | @@ -428,12 +439,12 @@ is returned on out of memory, | 428 | 439 | .B ARES_EFORMERR | 429 | 440 | is returned on misuse. | 430 | 441 |
| 431 | | -\fIares_dns_record_get_id(3)\fP, \fIares_dns_record_get_flags(3)\fP, | 432 | | -\fIares_dns_record_get_opcode(3)\fP, \fIares_dns_record_get_rcode(3)\fP, and | 433 | | -\fIares_dns_record_query_cnt(3)\fP all returned their prescribed datatype | 434 | | -values and in general can't fail except for misuse cases, in which a 0 may | 435 | | -be returned, however 0 can also be a valid return value for most of these | 436 | | -functions. | | 442 | +\fIares_dns_record_get_id(3)\fP, \fIares_dns_record_set_id(3)\fP, | | 443 | +\fIares_dns_record_get_flags(3)\fP, \fIares_dns_record_get_opcode(3)\fP, | | 444 | +\fIares_dns_record_get_rcode(3)\fP, and \fIares_dns_record_query_cnt(3)\fP | | 445 | +all returned their prescribed datatype values and in general can't fail except | | 446 | +for misuse cases, in which a 0 may be returned, however 0 can also be a valid | | 447 | +return value for most of these functions. | 437 | 448 |
| 438 | 449 |
| 439 | 450 | .SH AVAILABILITY | |
Collapse file Copy file name to clipboard +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +.\" Copyright (C) 2023 The c-ares project and its contributors. | | 2 | +.\" SPDX-License-Identifier: MIT | | 3 | +.so man3/ares_dns_record.3 |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/include/ares_version.h +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 32 | 32 |
| 33 | 33 | #define ARES_VERSION_MAJOR 1 | 34 | 34 | #define ARES_VERSION_MINOR 32 | 35 | | -#define ARES_VERSION_PATCH 2 | | 35 | +#define ARES_VERSION_PATCH 3 | 36 | 36 | #define ARES_VERSION \ | 37 | 37 | ((ARES_VERSION_MAJOR << 16) | (ARES_VERSION_MINOR << 8) | \ | 38 | 38 | (ARES_VERSION_PATCH)) | 39 | | -#define ARES_VERSION_STR "1.32.2" | | 39 | +#define ARES_VERSION_STR "1.32.3" | 40 | 40 |
| 41 | 41 | #define CARES_HAVE_ARES_LIBRARY_INIT 1 | 42 | 42 | #define CARES_HAVE_ARES_LIBRARY_CLEANUP 1 | |
|