]> git.ipfire.org Git - thirdparty/bind9.git/commit
Return "Bad Request" (400) in a case of Base64 decoding error
authorArtem Boldariev <artem@boldariev.com>
Mon, 5 Jul 2021 13:48:54 +0000 (16:48 +0300)
committerArtem Boldariev <artem@boldariev.com>
Fri, 9 Jul 2021 13:26:46 +0000 (16:26 +0300)
commitfedff2cd6c3b83a5f59e331201a4b0673174d0f7
tree2668dafb796d52c7309f2a8de66dd88fa7724569
parent17927400759710536e51a84a266f40506f21b310
Return "Bad Request" (400) in a case of Base64 decoding error

This error code fits better than the more generic "Internal Server
Error" (500) which implies that the problem is on the server.

Also, do not end the whole HTTP/2 session on a bad request.
lib/isc/netmgr/http.c