From ed37949d5ff0ffc80cb2fb752571393324126a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondr=CC=8Cej=20Sury=CC=81?= Date: Wed, 12 Oct 2022 19:21:42 +0200 Subject: [PATCH] Restore ignoring ISC_R_CONNREFUSED in connect_read_cb In ac4cc8443dddc8e900188b4beae54c7ca222094c, the ISC_R_CONNREFUSED was removed in connect_read_cb, but it can actually happen in the udp_test: [ RUN ] udp_recv_send connect_read_cb(0x7f2c2801a270, connection refused, (nil)) --- tests/isc/netmgr_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/isc/netmgr_common.c b/tests/isc/netmgr_common.c index 62c9ed74eb..3d57d940d0 100644 --- a/tests/isc/netmgr_common.c +++ b/tests/isc/netmgr_common.c @@ -334,6 +334,7 @@ connect_read_cb(isc_nmhandle_t *handle, isc_result_t eresult, case ISC_R_SHUTTINGDOWN: case ISC_R_CANCELED: case ISC_R_CONNECTIONRESET: + case ISC_R_CONNREFUSED: break; default: fprintf(stderr, "%s(%p, %s, %p)\n", __func__, handle,