mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 01:20:31 -04:00
- When using an async thread pool, terminating a process that uses the file:open/2 that specify the "compressed" option causes a crash. (by Filipe David Manana) - Due to a bug in ssl_manager:clean_cert_db, very time a tcp connection was upgraded the certificates would be leaked and never removed from the 'ssl_otp_cacertificate_db' table. (by Daniel Barney)
14 lines
466 B
Erlang
14 lines
466 B
Erlang
|
|
$FreeBSD$
|
|
|
|
--- lib/ssl/src/ssl_manager.erl.orig
|
|
+++ lib/ssl/src/ssl_manager.erl
|
|
@@ -145,7 +145,7 @@
|
|
call({new_session_id, Port}).
|
|
|
|
clean_cert_db(Ref, File) ->
|
|
- erlang:send_after(?CLEAN_CERT_DB, self(), {clean_cert_db, Ref, File}).
|
|
+ erlang:send_after(?CLEAN_CERT_DB, get(ssl_manager), {clean_cert_db, Ref, File}).
|
|
|
|
%%--------------------------------------------------------------------
|
|
-spec register_session(inet:port_number(), #session{}) -> ok.
|