aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-06-19 08:16:41 +0200
committerIngela Anderton Andin <[email protected]>2019-06-19 08:16:41 +0200
commitb7afb154975f123a785d8223c686e19eb947c3af (patch)
treea8ca36f7f22307f734303b6184c1e7444ad91d81 /lib/ssl/src
parent1d12eae751c9c14626365d32947a7931ce55dbba (diff)
parent1f3dde12d06bb325f51ecba2bbd48b4040474136 (diff)
downloadotp-b7afb154975f123a785d8223c686e19eb947c3af.tar.gz
otp-b7afb154975f123a785d8223c686e19eb947c3af.tar.bz2
otp-b7afb154975f123a785d8223c686e19eb947c3af.zip
Merge branch 'ingela/ssl/TLS-hibernate-bug/OTP-15910' into maint
* ingela/ssl/TLS-hibernate-bug/OTP-15910: ssl: Fix hibernation bug
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 dabc2f8ec8..323d9e3284 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -259,7 +259,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;