]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update resquery_senddone handling of ISC_R_CONNECTIONRESET
authorMark Andrews <marka@isc.org>
Mon, 27 May 2024 02:46:46 +0000 (12:46 +1000)
committerMark Andrews <marka@isc.org>
Mon, 3 Jun 2024 14:15:48 +0000 (00:15 +1000)
Treat connection reset as an address specific error.

lib/dns/resolver.c

index 1d899910b38fffb70004ec3d2312d471da15885e..b67aa57e0d56b6cb2c5161cd770e733b9fab1930 100644 (file)
@@ -1759,6 +1759,7 @@ resquery_senddone(isc_result_t eresult, isc_region_t *region, void *arg) {
        case ISC_R_NOPERM:
        case ISC_R_ADDRNOTAVAIL:
        case ISC_R_CONNREFUSED:
+       case ISC_R_CONNECTIONRESET:
                /* No route to remote. */
                FCTXTRACE3("query canceled in resquery_senddone(): "
                           "no route to host; no response",