diff options
author | Ingela Anderton Andin <[email protected]> | 2012-06-13 09:42:19 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-06-13 09:42:19 +0200 |
commit | 67d2e30e77db74d0852421c21362d1a9374780e1 (patch) | |
tree | b831402d804a1715b71f324b2cee87c303d238e1 /lib/ssl/src/ssl_session_cache.erl | |
parent | 628d51fd2171cb6e8275f9a16d85300e42e83594 (diff) | |
parent | f88ec275329908b017ae731f8e4ca11d862a9243 (diff) | |
download | otp-67d2e30e77db74d0852421c21362d1a9374780e1.tar.gz otp-67d2e30e77db74d0852421c21362d1a9374780e1.tar.bz2 otp-67d2e30e77db74d0852421c21362d1a9374780e1.zip |
Merge branch 'ia/ssl/bottlenecks/OTP-10113' into maint
* ia/ssl/bottlenecks/OTP-10113:
ssl: Test case fixes
ssl: Avoid second bottleneck in supervisor
ssl: File handling optimization
ssl: Simpler PEM cache
ssl: Refactored for readability
ssl: Use md5 as file ref id instead of filenames
ssl: Move ets:select bottleneck in server
ssl: Renegotiate updates session id in gen_fsm state
ssl: Use ordered_set in cache
ssl: Move and avoid ets:select bottleneck in client
ssl: Reuse session check optimization
ssl: Avoid supervior bottleneck
Diffstat (limited to 'lib/ssl/src/ssl_session_cache.erl')
-rw-r--r-- | lib/ssl/src/ssl_session_cache.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_session_cache.erl b/lib/ssl/src/ssl_session_cache.erl index f9bbf905e1..5c6ee3c54c 100644 --- a/lib/ssl/src/ssl_session_cache.erl +++ b/lib/ssl/src/ssl_session_cache.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -32,7 +32,7 @@ %% Description: Return table reference. Called by ssl_manager process. %%-------------------------------------------------------------------- init(_) -> - ets:new(cache_name(), [set, protected]). + ets:new(cache_name(), [ordered_set, protected]). %%-------------------------------------------------------------------- %% Description: Handles cache table at termination of ssl manager. |