elixir-socket
elixir-socket copied to clipboard
Socket.SSL no longer work with recent Erlang
% elixir --version
Erlang/OTP 25 [erts-13.1.5] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]
Elixir 1.14.3 (compiled with Erlang/OTP 25)
Trying to compile:
warning: :ssl.cipher_suites/0 is undefined or private, use cipher_suites/2,3 instead
lib/socket/ssl.ex:55: Socket.SSL.ciphers/0
warning: :ssl.ssl_accept/2 is undefined or private, use ssl_handshake/1,2,3 instead
lib/socket/ssl.ex:272: Socket.SSL.handshake/2
warning: :ssl.ssl_accept/3 is undefined or private, use ssl_handshake/1,2,3 instead
lib/socket/ssl.ex:252: Socket.SSL.accept/2
When running:
** (UndefinedFunctionError) function :ssl.ssl_accept/2 is undefined or private, use ssl_handshake/1,2,3 instead
(ssl 10.8.7) :ssl.ssl_accept({:sslsocket, {:gen_tcp, #Port<0.6>, :tls_connection, [option_tracker: #PID<0.354.0>, session_tickets_tracker: :disabled, session_id_tracker: #PID<0.355.0>]}, [#PID<0.358.0>, #PID<0.357.0>]}, :infinity)
(socket 0.3.13) lib/socket/ssl.ex:239: Socket.SSL.accept/2
echo-server.exs:19: Echo.loop_acceptor/1