diff options
author | Loïc Hoguin <[email protected]> | 2020-11-23 19:21:30 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-11-23 19:21:30 +0100 |
commit | 630af349b14bdc2184d88ead9877fcc36ab2578e (patch) | |
tree | dbe7aff999659564200c2bc8343f7958fe783b42 | |
parent | 3e914c44a4e956c3b6ef3c1ffc64aac1fca46be9 (diff) | |
download | ranch-630af349b14bdc2184d88ead9877fcc36ab2578e.tar.gz ranch-630af349b14bdc2184d88ead9877fcc36ab2578e.tar.bz2 ranch-630af349b14bdc2184d88ead9877fcc36ab2578e.zip |
Enable ssl active_n on Windows
-rw-r--r-- | test/ranch_ct_hook.erl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/ranch_ct_hook.erl b/test/ranch_ct_hook.erl index a8b6885..4734524 100644 --- a/test/ranch_ct_hook.erl +++ b/test/ranch_ct_hook.erl @@ -22,19 +22,19 @@ init(_, _) -> %% ranch_sup children. application:set_env(ranch, ranch_sup_intensity, 10), application:set_env(ranch, ranch_sup_period, 1), - ok = application:load(ssl), - case {os:type(), application:get_key(ssl, vsn)} of - %% Internal active,N is broken on Windows since - %% OTP 21.2/ssl 9.1. - %% @todo Put an upper limit on the version when - %% this is fixed in a future OTP version. - {_, {ok, "9.0"++_}} -> - ok; - {{win32, nt}, {ok, "9."++_}} -> - application:set_env(ssl, internal_active_n, 1); - _ -> - ok - end, +% ok = application:load(ssl), +% case {os:type(), application:get_key(ssl, vsn)} of +% %% Internal active,N is broken on Windows since +% %% OTP 21.2/ssl 9.1. +% %% @todo Put an upper limit on the version when +% %% this is fixed in a future OTP version. +% {_, {ok, "9.0"++_}} -> +% ok; +% {{win32, nt}, {ok, "9."++_}} -> +% application:set_env(ssl, internal_active_n, 1); +% _ -> +% ok +% end, ct_helper:start([ranch]), ct_helper:make_certs_in_ets(), error_logger:add_report_handler(ct_helper_error_h), |