25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +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:23:52 +10:00
parent 8ab8da82c4
commit c9ff370278

View File

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