Skip to content

Commit

Permalink
Delete unused function in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiderkwast committed Mar 14, 2024
1 parent 10b9c03 commit 639bafa
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/rfc7540_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -402,17 +402,6 @@ respect_max_concurrent_streams(_) ->
cowboy:stop_listener(Ref)
end.

do_cowboy_max_councurrent_streams(MaxConcurrentStreams) ->
Ref = make_ref(),
Routes = [{'_', [{"/", delayed_hello_h, 500}]}],
ProtoOpts = #{
env => #{dispatch => cowboy_router:compile(Routes)},
tcp => #{protocols => [http2]},
max_concurrent_streams => MaxConcurrentStreams
},
[{ref, _}, {port, Port}] = gun_test:init_cowboy_tcp(Ref, ProtoOpts, []),
{ok, Ref, Port}.

headers_priority_flag(_) ->
doc("HEADERS frames may include a PRIORITY flag indicating "
"that stream dependency information is attached. (RFC7540 6.2)"),
Expand Down

0 comments on commit 639bafa

Please sign in to comment.