aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-11-06 09:36:43 +0100
committerIngela Anderton Andin <[email protected]>2018-11-06 09:36:43 +0100
commitc2a3104849583a9e1aa5370873457975bef67296 (patch)
tree63286fa8e78bd884b37076a9c9d356c09554ab70 /lib/ssl/src
parent35ec009f24bf255984bf0283629d088e29d2d955 (diff)
parente7e3f59e5350bb39f57f0403f3c78443c58039b1 (diff)
downloadotp-c2a3104849583a9e1aa5370873457975bef67296.tar.gz
otp-c2a3104849583a9e1aa5370873457975bef67296.tar.bz2
otp-c2a3104849583a9e1aa5370873457975bef67296.zip
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl_connection.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index 1a848df2a3..2abc678ed9 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -627,6 +627,8 @@ init({call, From}, {start, {Opts, EmOpts}, Timeout},
catch throw:Error ->
stop_and_reply(normal, {reply, From, {error, Error}}, State0)
end;
+init({call, From}, {new_user, _} = Msg, State, Connection) ->
+ handle_call(Msg, From, ?FUNCTION_NAME, State, Connection);
init({call, From}, _Msg, _State, _Connection) ->
{keep_state_and_data, [{reply, From, {error, notsup_on_transport_accept_socket}}]};
init(_Type, _Event, _State, _Connection) ->