diff options
author | Ingela Anderton Andin <[email protected]> | 2018-08-09 09:28:48 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-08-09 09:28:48 +0200 |
commit | 2c19a6010e9576e1979216863b5f63ebe302bf69 (patch) | |
tree | a6b127e3647ecd67a19e55ade547f4d199349d91 /lib/ssl/src/ssl_connection.erl | |
parent | d3eebb798cd0aac25f3b66e98aca3a0340017479 (diff) | |
parent | ca9f2fe073b587e70b5502c87be3eca6f72ddd57 (diff) | |
download | otp-2c19a6010e9576e1979216863b5f63ebe302bf69.tar.gz otp-2c19a6010e9576e1979216863b5f63ebe302bf69.tar.bz2 otp-2c19a6010e9576e1979216863b5f63ebe302bf69.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r-- | lib/ssl/src/ssl_connection.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl index 90d6d98058..6e98baf984 100644 --- a/lib/ssl/src/ssl_connection.erl +++ b/lib/ssl/src/ssl_connection.erl @@ -650,6 +650,8 @@ init(_Type, _Event, _State, _Connection) -> tls_connection | dtls_connection) -> gen_statem:state_function_result(). %%-------------------------------------------------------------------- +error({call, From}, {close, _}, State, _Connection) -> + stop_and_reply(normal, {reply, From, ok}, State); error({call, From}, _Msg, State, _Connection) -> {next_state, ?FUNCTION_NAME, State, [{reply, From, {error, closed}}]}. |