]> 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 09:32:11 +0000 (11:32 +0200)
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

index bf2abe5e4bc844814ebf90f4937ddaca751e72b2..b1ed237a0bec00052e1a8de8bd93a70859ec50ba 100644 (file)
@@ -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) {