Return "400 Bad Request" instead of "500 Internal Server Error" for
authorreyk <reyk@openbsd.org>
Tue, 6 Jan 2015 13:38:59 +0000 (13:38 +0000)
committerreyk <reyk@openbsd.org>
Tue, 6 Jan 2015 13:38:59 +0000 (13:38 +0000)
commitfc062027518ac390c7d2dec7b62adc59a8a89c33
tree37b71d0a8102fe1905657aa1b06d728efded9f7a
parent9c9e7f9589640a9e5361bdda14b2fbff60e024b2
Return "400 Bad Request" instead of "500 Internal Server Error" for
unknown/invalid HTTP requests.

From Fabian Raetz at gmail
usr.sbin/httpd/server_http.c