]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
DoH: remove obsolete INSIST() check
authorArtem Boldariev <artem@boldariev.com>
Wed, 26 Feb 2025 12:43:34 +0000 (14:43 +0200)
committerArtem Boldariev <artem@boldariev.com>
Mon, 3 Mar 2025 10:07:48 +0000 (12:07 +0200)
The check, while not active by default, is not valid since the commit
8b8f4d500d9c1d41d95d34a79c8935823978114c.

See 'if (total == 0) { ...' below branch to understand why.

(cherry picked from commit 217a1ebd79d90d2a3eebf44256fd15ab61a7d2a9)

lib/isc/netmgr/http.c

index 195d69851deb23cf68249a6058560b5a0940f32f..aac68ba667d6d87653c1b4aae687182aa0783ff5 100644 (file)
@@ -1506,8 +1506,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) {