2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

Merge branch '3285-dig-do-not-hang-on-tlsctx-errors' into 'main'

Dig: do not hang on TLS context creation errors (Resolve #3285)

Closes #3285

See merge request isc-projects/bind9!6131
This commit is contained in:
Artem Boldariev
2022-04-27 14:02:03 +00:00
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
5871. [bug] Fix dig hanging on TLS context creation errors.
[GL #3285]
5870. [cleanup] Remove redundant macros in the RBT implementation.
[GL !6158]

View File

@@ -3035,6 +3035,9 @@ failure_tls:
} else {
next = NULL;
}
if (connectquery != NULL) {
query_detach(&connectquery);
}
query_detach(&query);
if (next == NULL) {
clear_current_lookup();