aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap/src/eldap.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2014-11-27 19:10:36 +0100
committerHans Nilsson <[email protected]>2014-11-27 19:10:36 +0100
commit8124941f68eaec82ae372424979bf745db9ba9eb (patch)
tree54432fcee78dd6a2b38f6d62029dfa3485ce179b /lib/eldap/src/eldap.erl
parentfc2067dc316e66e07c351254fbfb4a7edbaf6be4 (diff)
downloadotp-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.erl3
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