25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Loading ASN.1 driver explicitly to avoid races in LDAP (EJAB-1284)

This commit is contained in:
Evgeniy Khramtsov 2010-08-04 19:25:18 +10:00
parent 8235c9eea1
commit 7510a54f81

View File

@ -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(),