mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix the ignore_requests_after_response_connection_close test
It was not working at all.
This commit is contained in:
parent
95710da617
commit
6c04875111
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue