From 7510a54f8173279e4913956e3dbedaaf9cede51c Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Wed, 4 Aug 2010 19:25:18 +1000 Subject: [PATCH] Loading ASN.1 driver explicitly to avoid races in LDAP (EJAB-1284) --- src/ejabberd_app.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ejabberd_app.erl b/src/ejabberd_app.erl index f6379e75f..a81cba482 100644 --- a/src/ejabberd_app.erl +++ b/src/ejabberd_app.erl @@ -56,6 +56,8 @@ start(normal, _Args) -> ejabberd_config:start(), ejabberd_check:config(), connect_nodes(), + %% Loading ASN.1 driver explicitly to avoid races in LDAP + catch asn1rt:load_driver(), Sup = ejabberd_sup:start_link(), ejabberd_rdbms:start(), ejabberd_auth:start(),