diff options
author | 2016-05-27 11:24:13 +0000 | |
---|---|---|
committer | 2016-05-27 11:24:13 +0000 | |
commit | 35d60353bea479324e0d17f13837d0e07d6a6baa (patch) | |
tree | f68ec3e129c2b55c1c3a91b531c7cb799e54273c /lib/libc | |
parent | Revert CHAR_T removal. Some signedness flaws were introduced. (diff) | |
download | wireguard-openbsd-35d60353bea479324e0d17f13837d0e07d6a6baa.tar.xz wireguard-openbsd-35d60353bea479324e0d17f13837d0e07d6a6baa.zip |
Return "400 Bad Request" instead of "500 Server Internal Error" for
requests lacking "HTTP/<version>".
This makes it more obvious that httpd(8) does not attempt to support
HTTP v0.9 (circa 1991), when "GET <url>\r\n" was valid.
ok millert@ florian@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions