From 6c048751117312b427b28db13797c384f30ffea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 18 May 2018 15:17:07 +0200 Subject: Fix the ignore_requests_after_response_connection_close test It was not working at all. --- test/rfc7230_SUITE.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/rfc7230_SUITE.erl b/test/rfc7230_SUITE.erl index f665093..a45d8f2 100644 --- a/test/rfc7230_SUITE.erl +++ b/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" -- cgit v1.2.3