diff options
author | Gustav Simonsson <[email protected]> | 2012-03-15 12:35:01 +0100 |
---|---|---|
committer | Gustav Simonsson <[email protected]> | 2012-03-15 12:35:01 +0100 |
commit | c0cfe854b955079f36715d1b73d78a1c32fc639d (patch) | |
tree | 48a60a852a5398a540e51db3186b29aacdcecdbc /lib/ssl/test/ssl_session_cache_SUITE.erl | |
parent | c9a25aca65c1e0d7f961868c947b3252c88e6ed4 (diff) | |
download | otp-c0cfe854b955079f36715d1b73d78a1c32fc639d.tar.gz otp-c0cfe854b955079f36715d1b73d78a1c32fc639d.tar.bz2 otp-c0cfe854b955079f36715d1b73d78a1c32fc639d.zip |
Add two cherry-picked commits from R15B branch to R14B04 to provide
patch for a ssl_connection bug which was fixed in R15B but exists
in R14B04. See Sequence 12016
* Send ssl_closed notification to active ssl user when a tcp error occurs
Diffstat (limited to 'lib/ssl/test/ssl_session_cache_SUITE.erl')
-rw-r--r-- | lib/ssl/test/ssl_session_cache_SUITE.erl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/ssl/test/ssl_session_cache_SUITE.erl b/lib/ssl/test/ssl_session_cache_SUITE.erl index 5ea45018e6..46cebf439b 100644 --- a/lib/ssl/test/ssl_session_cache_SUITE.erl +++ b/lib/ssl/test/ssl_session_cache_SUITE.erl @@ -210,7 +210,7 @@ session_cleanup(Config)when is_list(Config) -> {status, _, _, StatusInfo} = sys:get_status(whereis(ssl_manager)), [_, _,_, _, Prop] = StatusInfo, - State = state(Prop), + State = ssl_test_lib:state(Prop), Cache = element(2, State), SessionTimer = element(6, State), @@ -238,11 +238,6 @@ session_cleanup(Config)when is_list(Config) -> ssl_test_lib:close(Server), ssl_test_lib:close(Client). -state([{data,[{"State", State}]} | _]) -> - State; -state([_ | Rest]) -> - state(Rest). - check_timer(Timer) -> case erlang:read_timer(Timer) of false -> @@ -256,7 +251,7 @@ check_timer(Timer) -> get_delay_timer() -> {status, _, _, StatusInfo} = sys:get_status(whereis(ssl_manager)), [_, _,_, _, Prop] = StatusInfo, - State = state(Prop), + State = ssl_test_lib:state(Prop), case element(7, State) of undefined -> test_server:sleep(?SLEEP), |