From 6f7b59886ec17027b16ed4d10737452e17f233d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 7 Jun 2017 15:15:54 +0200 Subject: Remove NumAcceptors argument from start_clear/tls They are now cowboy:start_clear/3 and cowboy:start_tls/3. The NumAcceptors argument can be specified via the num_acceptor transport option. Ranch has been updated to 1.4.0 to that effect. --- examples/ssl_hello_world/src/ssl_hello_world_app.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/ssl_hello_world') diff --git a/examples/ssl_hello_world/src/ssl_hello_world_app.erl b/examples/ssl_hello_world/src/ssl_hello_world_app.erl index ba42b24..009ab8f 100644 --- a/examples/ssl_hello_world/src/ssl_hello_world_app.erl +++ b/examples/ssl_hello_world/src/ssl_hello_world_app.erl @@ -17,7 +17,7 @@ start(_Type, _Args) -> ]} ]), PrivDir = code:priv_dir(ssl_hello_world), - {ok, _} = cowboy:start_tls(https, 100, [ + {ok, _} = cowboy:start_tls(https, [ {port, 8443}, {cacertfile, PrivDir ++ "/ssl/cowboy-ca.crt"}, {certfile, PrivDir ++ "/ssl/server.crt"}, -- cgit v1.2.3