]> git.ipfire.org Git - thirdparty/bind9.git/commit
DoH: ensure that server_send_error_response() is used properly
authorArtem Boldariev <artem@boldariev.com>
Fri, 14 Jan 2022 12:14:53 +0000 (14:14 +0200)
committerArtem Boldariev <artem@boldariev.com>
Fri, 14 Jan 2022 14:00:42 +0000 (16:00 +0200)
commitca9fe3559a1e369ee4bf698f5c5f5417258cd8bc
treea485c2f0d8facb62093d97b54d3a394a2c6ea1ba
parenta38b4945c148d2e189a3b3ad0b5899d1734122b1
DoH: ensure that server_send_error_response() is used properly

The server_send_error_response() function is supposed to be used only
in case of failures and never in case of legitimate requests. Ensure
that ISC_HTTP_ERROR_SUCCESS is never passed there by mistake.
lib/isc/netmgr/http.c