do not duplicate "Connection: close" headers and only add it if its
authorbenno <benno@openbsd.org>
Sat, 23 Oct 2021 20:46:18 +0000 (20:46 +0000)
committerbenno <benno@openbsd.org>
Sat, 23 Oct 2021 20:46:18 +0000 (20:46 +0000)
commit03c01c05fa6144764e653eb5de91fefdc550eb15
tree3c91570fe79d55f48948d2d76aac5fb75b1635a0
parent1a703092d71b5971a28f8c256a5182b080975f69
do not duplicate "Connection: close" headers and only add it if its
not a websockets response.
Reported by Marcus MERIGHI and Jonathon Fletcher, this fix is by Jonathon, Thanks!
ok claudio@
usr.sbin/relayd/relay_http.c