aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2014-11-28 14:43:28 +0100
committerHans Nilsson <[email protected]>2014-11-28 14:43:28 +0100
commit948c140f207fdae5016780229a8ad803aa80e372 (patch)
tree54432fcee78dd6a2b38f6d62029dfa3485ce179b /lib
parentfc2067dc316e66e07c351254fbfb4a7edbaf6be4 (diff)
parent8124941f68eaec82ae372424979bf745db9ba9eb (diff)
downloadotp-948c140f207fdae5016780229a8ad803aa80e372.tar.gz
otp-948c140f207fdae5016780229a8ad803aa80e372.tar.bz2
otp-948c140f207fdae5016780229a8ad803aa80e372.zip
Merge branch 'hans/eldap/timout_connect/OTP-12311' into maint
* hans/eldap/timout_connect/OTP-12311: eldap: Fix timeout missing in ssl:connect
Diffstat (limited to 'lib')
-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