aboutsummaryrefslogtreecommitdiffstats
path: root/test/autobahn_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-08-27 11:50:35 +0200
committerLoïc Hoguin <[email protected]>2012-08-27 11:50:35 +0200
commite4124de2c71564d37b3732ede0fe1542de1d6f99 (patch)
tree0e632d9eb44c848bfc4b9190251e7c8566c8debc /test/autobahn_SUITE.erl
parent50e5a616dcaa765f0c795f565d361196823ed2fe (diff)
downloadcowboy-e4124de2c71564d37b3732ede0fe1542de1d6f99.tar.gz
cowboy-e4124de2c71564d37b3732ede0fe1542de1d6f99.tar.bz2
cowboy-e4124de2c71564d37b3732ede0fe1542de1d6f99.zip
Switch to Ranch for connection handling
This is the first of many API incompatible changes. You have been warned.
Diffstat (limited to 'test/autobahn_SUITE.erl')
-rw-r--r--test/autobahn_SUITE.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/autobahn_SUITE.erl b/test/autobahn_SUITE.erl
index 85647d3..b05920d 100644
--- a/test/autobahn_SUITE.erl
+++ b/test/autobahn_SUITE.erl
@@ -61,10 +61,9 @@ end_per_suite(_Config) ->
init_per_group(autobahn, Config) ->
Port = 33080,
- cowboy:start_listener(autobahn, 100,
- cowboy_tcp_transport, [{port, Port}],
- cowboy_http_protocol, [{dispatch, init_dispatch()}]
- ),
+ cowboy:start_http(autobahn, 100, [{port, Port}], [
+ {dispatch, init_dispatch()}
+ ]),
[{port, Port}|Config].
end_per_group(Listener, _Config) ->