diff options
author | Ingela Anderton Andin <[email protected]> | 2019-06-18 17:37:03 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-06-18 17:37:03 +0200 |
commit | 1f3dde12d06bb325f51ecba2bbd48b4040474136 (patch) | |
tree | 7e278663676afaa7b85636c59abd85b9fff101c9 /lib/ssl/src | |
parent | 7fe7fa3dde556b5b92522f8279d465bb52baf1f6 (diff) | |
download | otp-1f3dde12d06bb325f51ecba2bbd48b4040474136.tar.gz otp-1f3dde12d06bb325f51ecba2bbd48b4040474136.tar.bz2 otp-1f3dde12d06bb325f51ecba2bbd48b4040474136.zip |
ssl: Fix hibernation bug
Diffstat (limited to 'lib/ssl/src')
-rw-r--r-- | lib/ssl/src/tls_connection.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl index 52e5db731a..0129ba8ebc 100644 --- a/lib/ssl/src/tls_connection.erl +++ b/lib/ssl/src/tls_connection.erl @@ -207,7 +207,7 @@ next_event(StateName, Record, State) -> next_event(StateName, no_record, State0, Actions) -> case next_record(State0) of {no_record, State} -> - {next_state, StateName, State, Actions}; + ssl_connection:hibernate_after(StateName, State, Actions); {#ssl_tls{} = Record, State} -> {next_state, StateName, State, [{next_event, internal, {protocol_record, Record}} | Actions]}; #alert{} = Alert -> |