Browse Source

Fix the ignore_requests_after_response_connection_close test

It was not working at all.
Loïc Hoguin 7 years ago
parent
commit
6c04875111
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/rfc7230_SUITE.erl

+ 2 - 1
test/rfc7230_SUITE.erl

@@ -1504,7 +1504,8 @@ ignore_requests_after_response_connection_close(Config) ->
 	doc("The server must not process any request after "
 		"sending the \"close\" connection option. (RFC7230 6.6)"),
 	Self = self(),
-	#{code := 200} = do_raw(Config, [
+	Client = raw_open(Config),
+	ok = raw_send(Client, [
 		[
 			"GET / HTTP/1.1\r\n"
 			"Host: localhost\r\n"