dovecot-2.2: lib-ssl-iostream: Destroy SSL module later in the a...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 30 20:04:01 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/267bca7a62fb
changeset: 18048:267bca7a62fb
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 30 22:02:52 2014 +0200
description:
lib-ssl-iostream: Destroy SSL module later in the atexit-callbacks.
diffstat:
src/lib-ssl-iostream/iostream-ssl.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 54eb3436c83b -r 267bca7a62fb src/lib-ssl-iostream/iostream-ssl.c
--- a/src/lib-ssl-iostream/iostream-ssl.c Thu Oct 30 22:00:14 2014 +0200
+++ b/src/lib-ssl-iostream/iostream-ssl.c Thu Oct 30 22:02:52 2014 +0200
@@ -40,7 +40,10 @@
return -1;
}
- lib_atexit(ssl_module_unload);
+ /* Destroy SSL module after (most of) the others. Especially lib-fs
+ backends may still want to access SSL module in their own
+ atexit-callbacks. */
+ lib_atexit_priority(ssl_module_unload, LIB_ATEXIT_PRIORITY_LOW);
ssl_module_loaded = TRUE;
return 0;
#else
More information about the dovecot-cvs
mailing list