aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2019-07-02 13:44:01 +0200
committerErlang/OTP <[email protected]>2019-07-02 13:44:01 +0200
commit7d5675d0d7c8498651802f96da92c589a1994d7c (patch)
treee8b09d1713b4197c359f74a7af78d5ff7c8e98ec /lib/ssl/src
parenta555c4c80c38b3e4240a2fcc54d913d0229193cd (diff)
parent1f3dde12d06bb325f51ecba2bbd48b4040474136 (diff)
downloadotp-7d5675d0d7c8498651802f96da92c589a1994d7c.tar.gz
otp-7d5675d0d7c8498651802f96da92c589a1994d7c.tar.bz2
otp-7d5675d0d7c8498651802f96da92c589a1994d7c.zip
Merge branch 'ingela/ssl/TLS-hibernate-bug/OTP-15910' into maint-22
* ingela/ssl/TLS-hibernate-bug/OTP-15910: ssl: Fix hibernation bug # Conflicts: # lib/ssl/src/tls_connection.erl
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/tls_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index 7cc2adfda1..24bc508a10 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -258,7 +258,7 @@ next_event(StateName, Record, State) ->
next_event(StateName, no_record, State0, Actions) ->
case next_record(StateName, State0) of
{no_record, State} ->
- {next_state, StateName, State, Actions};
+ ssl_connection:hibernate_after(StateName, State, Actions);
{Record, State} ->
next_event(StateName, Record, State, Actions)
end;