aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-10-10 17:06:59 +0200
committerLoïc Hoguin <[email protected]>2019-10-10 17:06:59 +0200
commit63b17e4edf666d995ec86cdcda17a62ba5ebc423 (patch)
tree01b91665e6f5e536a5e2ae855a51f12a8fc0aa67 /test
parent3ae228897a94d2506859bf351bf6c2aa9e02a6a4 (diff)
downloadcowboy-63b17e4edf666d995ec86cdcda17a62ba5ebc423.tar.gz
cowboy-63b17e4edf666d995ec86cdcda17a62ba5ebc423.tar.bz2
cowboy-63b17e4edf666d995ec86cdcda17a62ba5ebc423.zip
Use /long_polling for rfc7540 tests that reset the stream2.7.0
Diffstat (limited to 'test')
-rw-r--r--test/rfc7540_SUITE.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/rfc7540_SUITE.erl b/test/rfc7540_SUITE.erl
index 595c6da..17ac319 100644
--- a/test/rfc7540_SUITE.erl
+++ b/test/rfc7540_SUITE.erl
@@ -1517,7 +1517,7 @@ rst_stream_reject_frame_size_too_small(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),
@@ -1536,7 +1536,7 @@ rst_stream_reject_frame_size_too_large(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),
@@ -1606,7 +1606,7 @@ push_promise_reject_frame_size_too_small_padded_flag(Config) ->
{<<":method">>, <<"GET">>},
{<<":scheme">>, <<"http">>},
{<<":authority">>, <<"localhost">>}, %% @todo Correct port number.
- {<<":path">>, <<"/">>}
+ {<<":path">>, <<"/long_polling">>}
]),
Len = 14 + iolist_size(HeadersBlock),
ok = gen_tcp:send(Socket, [
@@ -1799,7 +1799,7 @@ idle_stream_reject_push_promise(Config) ->
{<<":method">>, <<"GET">>},
{<<":scheme">>, <<"http">>},
{<<":authority">>, <<"localhost">>}, %% @todo Correct port number.
- {<<":path">>, <<"/">>}
+ {<<":path">>, <<"/long_polling">>}
]),
ok = gen_tcp:send(Socket, cow_http2:push_promise(1, 3, HeadersBlock)),
%% Receive a PROTOCOL_ERROR connection error.
@@ -3020,7 +3020,7 @@ window_update_reject_0_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),
@@ -3150,7 +3150,7 @@ window_update_reject_overflow_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),