rfc 7230 3.3.3 says: response with a status code of 1xx
authorbenno <benno@openbsd.org>
Mon, 1 Aug 2016 21:14:45 +0000 (21:14 +0000)
committerbenno <benno@openbsd.org>
Mon, 1 Aug 2016 21:14:45 +0000 (21:14 +0000)
commit055a638bd459616b1eba7cd4e4c0897552d805e0
treea5396ce0b24d25f8a5493015610a48e697e1b325
parentbc478ab16f83e6f1516230f69f5e1dabd707a8b2
rfc 7230 3.3.3 says: response with a status code of 1xx
(Informational) or 204 (No Content) MUST not have a Content-Length.
Add a check for that.
ok reyk@
usr.sbin/relayd/http.h
usr.sbin/relayd/relay_http.c