From 217a1ebd79d90d2a3eebf44256fd15ab61a7d2a9 Mon Sep 17 00:00:00 2001 From: Artem Boldariev Date: Wed, 26 Feb 2025 14:43:34 +0200 Subject: [PATCH] DoH: remove obsolete INSIST() check The check, while not active by default, is not valid since the commit 8b8f4d500d9c1d41d95d34a79c8935823978114c. See 'if (total == 0) { ...' below branch to understand why. --- lib/isc/netmgr/http.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/isc/netmgr/http.c b/lib/isc/netmgr/http.c index bf2abe5e4b..b1ed237a0b 100644 --- a/lib/isc/netmgr/http.c +++ b/lib/isc/netmgr/http.c @@ -1522,8 +1522,6 @@ http_send_outgoing(isc_nm_http_session_t *session, isc_nmhandle_t *httphandle, (total == 0 && session->sending == 0) || (total > 0 && session->sending == 0)); } -#else - INSIST(ISC_LIST_EMPTY(session->pending_write_callbacks)); #endif /* ENABLE_HTTP_WRITE_BUFFERING */ if (total == 0) {