aboutsummaryrefslogtreecommitdiffstats
path: root/test/rfc7540_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-04-30 14:23:38 +0200
committerLoïc Hoguin <[email protected]>2018-04-30 14:23:38 +0200
commit3ebd01805fdfd47c374430b13f86ce9ec9d15f00 (patch)
tree84c622a5687c10a0221e710548f64ac8e7c32251 /test/rfc7540_SUITE.erl
parent7d4791b32cefeec0ebc5a21e85154bf03344ca5e (diff)
downloadcowboy-3ebd01805fdfd47c374430b13f86ce9ec9d15f00.tar.gz
cowboy-3ebd01805fdfd47c374430b13f86ce9ec9d15f00.tar.bz2
cowboy-3ebd01805fdfd47c374430b13f86ce9ec9d15f00.zip
Fix some intermittent test issues in rfc7540
Diffstat (limited to 'test/rfc7540_SUITE.erl')
-rw-r--r--test/rfc7540_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rfc7540_SUITE.erl b/test/rfc7540_SUITE.erl
index b7227e8..dd67057 100644
--- a/test/rfc7540_SUITE.erl
+++ b/test/rfc7540_SUITE.erl
@@ -530,7 +530,7 @@ http_upgrade_response_half_closed(Config) ->
%% Try sending more data after the upgrade and get an error.
{ok, Socket} = gen_tcp:connect("localhost", config(port, Config), [binary, {active, false}]),
ok = gen_tcp:send(Socket, [
- "GET / HTTP/1.1\r\n"
+ "GET /long_polling HTTP/1.1\r\n"
"Host: localhost\r\n"
"Connection: Upgrade, HTTP2-Settings\r\n"
"Upgrade: h2c\r\n"
@@ -1893,7 +1893,7 @@ half_closed_remote_accept_rst_stream(Config) ->
{<<":method">>, <<"GET">>},
{<<":scheme">>, <<"http">>},
{<<":authority">>, <<"localhost">>}, %% @todo Correct port number.
- {<<":path">>, <<"/">>}
+ {<<":path">>, <<"/long_polling">>}
]),
ok = gen_tcp:send(Socket, cow_http2:headers(1, fin, HeadersBlock)),
%% Send an RST_STREAM frame on that now half-closed (remote) stream.