fix some cases where we relay_abort_http() the connection too soon.
authorbenno <benno@openbsd.org>
Fri, 22 Jul 2016 09:30:36 +0000 (09:30 +0000)
committerbenno <benno@openbsd.org>
Fri, 22 Jul 2016 09:30:36 +0000 (09:30 +0000)
commit9357f4aa977b0d1366d14125b6a2856f1217f85b
tree369c76e9ce6f8da572df00fd164a95a2377ac3ff
parent366293ee10d198d4748199a9461c83a4cf897948
fix some cases where we relay_abort_http() the connection too soon.
instead, pass a more specific error back and handle the errors in
relay_test() instead.
reported by Arto Jonsson and Hiltjo Posthuma, thanks!
ok bluhm@ reyk@
usr.sbin/relayd/relay_http.c
usr.sbin/relayd/relayd.h