bind9/lib/ns
Artem Boldariev c6d0e3d3a7 Return HTTP status code for small/malformed requests
This commit makes BIND return HTTP status codes for malformed or too
small requests.

DNS request processing code would ignore such requests. Such an
approach works well for other DNS transport but does not make much
sense for HTTP, not allowing it to complete the request/response
sequence.

Suppose execution has reached the point where DNS message handling
code has been called. In that case, it means that the HTTP request has
been successfully processed, and, thus, we are expected to respond to
it either with a message containing some DNS payload or at least to
return an error status code. This commit ensures that BIND behaves
this way.
2021-07-09 16:37:08 +03:00
..
include The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
tests The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
client.c Return HTTP status code for small/malformed requests 2021-07-09 16:37:08 +03:00
hooks.c The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
interfacemgr.c Make the DNS over HTTPS support optional 2021-07-07 09:50:53 +02:00
lib.c Remove LIB<*>_EXTERNAL_DATA defines 2021-07-06 05:33:48 +00:00
listenlist.c support "tls ephemeral" with https 2021-02-03 12:06:17 +01:00
log.c Remove LIB<*>_EXTERNAL_DATA defines 2021-07-06 05:33:48 +00:00
Makefile.am Use -release instead of -version-info for internal library SONAMEs 2021-01-25 14:19:53 +01:00
notify.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
query.c Make the DNS over HTTPS support optional 2021-07-07 09:50:53 +02:00
server.c Simplify the EDNS buffer size logic for DNS Flag Day 2020 2020-10-05 16:21:21 +02:00
sortlist.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
stats.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
update.c Reduce the number of clientmgr objects created 2021-05-24 20:44:54 +02:00
xfrout.c use a fixedname buffer in dns_message_gettempname() 2021-05-20 20:41:29 +02:00