aboutsummaryrefslogtreecommitdiffstats
path: root/test/rfc7230_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-05-18 15:17:07 +0200
committerLoïc Hoguin <[email protected]>2018-05-18 15:17:07 +0200
commit6c048751117312b427b28db13797c384f30ffea8 (patch)
treee9516b591c0d5ae8237febddc029aafed3e1b2a6 /test/rfc7230_SUITE.erl
parent95710da617d7b9e77494b4d8e16b8f014abeb09c (diff)
downloadcowboy-6c048751117312b427b28db13797c384f30ffea8.tar.gz
cowboy-6c048751117312b427b28db13797c384f30ffea8.tar.bz2
cowboy-6c048751117312b427b28db13797c384f30ffea8.zip
Fix the ignore_requests_after_response_connection_close test
It was not working at all.
Diffstat (limited to 'test/rfc7230_SUITE.erl')
-rw-r--r--test/rfc7230_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
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"