diff options
author | Hans Nilsson <[email protected]> | 2014-11-27 19:10:36 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2014-11-27 19:10:36 +0100 |
commit | 8124941f68eaec82ae372424979bf745db9ba9eb (patch) | |
tree | 54432fcee78dd6a2b38f6d62029dfa3485ce179b /lib/eldap/src/eldap.erl | |
parent | fc2067dc316e66e07c351254fbfb4a7edbaf6be4 (diff) | |
download | otp-8124941f68eaec82ae372424979bf745db9ba9eb.tar.gz otp-8124941f68eaec82ae372424979bf745db9ba9eb.tar.bz2 otp-8124941f68eaec82ae372424979bf745db9ba9eb.zip |
eldap: Fix timeout missing in ssl:connect
Diffstat (limited to 'lib/eldap/src/eldap.erl')
-rw-r--r-- | lib/eldap/src/eldap.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl index 3fa440d37d..9f7aca287b 100644 --- a/lib/eldap/src/eldap.erl +++ b/lib/eldap/src/eldap.erl @@ -459,7 +459,8 @@ do_connect(Host, Data, Opts) when Data#eldap.ldaps == false -> Data#eldap.timeout); do_connect(Host, Data, Opts) when Data#eldap.ldaps == true -> ssl:connect(Host, Data#eldap.port, - Opts ++ Data#eldap.tls_opts ++ Data#eldap.tcp_opts). + Opts ++ Data#eldap.tls_opts ++ Data#eldap.tcp_opts, + Data#eldap.timeout). loop(Cpid, Data) -> receive |