aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_session_cache.erl
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2011-07-06 12:17:35 +0200
committerErlang/OTP <[email protected]>2011-07-06 12:17:35 +0200
commit32fc16e311bfbc5abd0ab8caf64d566e1e65196d (patch)
tree91ac07f0809ccf770c07d184b07560b94b786fc3 /lib/ssl/src/ssl_session_cache.erl
parent9cb4040e4aeed40a52f174a7c4d9106e38572605 (diff)
parent7c52434e6b207e1485ce1bd00018c3f6c05e53fa (diff)
downloadotp-32fc16e311bfbc5abd0ab8caf64d566e1e65196d.tar.gz
otp-32fc16e311bfbc5abd0ab8caf64d566e1e65196d.tar.bz2
otp-32fc16e311bfbc5abd0ab8caf64d566e1e65196d.zip
Merge branch 'ia/ssl/session-table-clean-up/OTP-9346' into maint-r14
* ia/ssl/session-table-clean-up/OTP-9346: The clean up of the session table now works as intended.
Diffstat (limited to 'lib/ssl/src/ssl_session_cache.erl')
-rw-r--r--lib/ssl/src/ssl_session_cache.erl4
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 823bf7acfa..ae7c67bb98 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-2010. All Rights Reserved.
+%% Copyright Ericsson AB 2008-2011. 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
@@ -36,7 +36,7 @@
%% Description: Return table reference. Called by ssl_manager process.
%%--------------------------------------------------------------------
init(_) ->
- ets:new(cache_name(), [set, protected]).
+ ets:new(cache_name(), [named_table, set, protected]).
%%--------------------------------------------------------------------
-spec terminate(cache_ref()) -> any(). %%