diff options
author | Ingela Anderton Andin <[email protected]> | 2011-05-31 11:52:06 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-06-01 10:55:40 +0200 |
commit | 2282568d2805d2e355f9dcde8b42e580006948b9 (patch) | |
tree | 3ed4e875ecd3e0c4f18a4ae8d7bfb8f79349ea9b /lib/ssl/src/ssl_session_cache.erl | |
parent | f6a77186a608fb08e2ffc65d06c4166b7127e4a0 (diff) | |
download | otp-2282568d2805d2e355f9dcde8b42e580006948b9.tar.gz otp-2282568d2805d2e355f9dcde8b42e580006948b9.tar.bz2 otp-2282568d2805d2e355f9dcde8b42e580006948b9.zip |
The clean up of the session table now works as intended.
In ssl-4.1.5 temporary clean-up processes would crash resulting in
that the session table would not be cleaned up (e.i. using more and
more memory) and error reports would be printed, but connections would
not be affected.
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 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(). %% |