Let the HTTP client close the connection within an incomplete header
authorbluhm <bluhm@openbsd.org>
Mon, 27 Apr 2015 20:01:59 +0000 (20:01 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 27 Apr 2015 20:01:59 +0000 (20:01 +0000)
commit4875e1c273bbc09b6f1755dd3d206ac5861ff895
tree14636dbe3dc553126d7f810ca87d8a08efd5ed6c
parent108d83b067358d460fb1cd96f001c9f785ff241f
Let the HTTP client close the connection within an incomplete header
line.  Check that the session in relayd gets closes and it does not
result in a file descriptor leak.
Bug in relayd found by claudio@.
regress/usr.sbin/relayd/args-http-headline-close.pl [new file with mode: 0644]
regress/usr.sbin/relayd/args-https-headline-close.pl [new file with mode: 0644]