diff options
author | Hans Nilsson <[email protected]> | 2014-11-28 14:43:28 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2014-11-28 14:43:28 +0100 |
commit | 948c140f207fdae5016780229a8ad803aa80e372 (patch) | |
tree | 54432fcee78dd6a2b38f6d62029dfa3485ce179b /lib | |
parent | fc2067dc316e66e07c351254fbfb4a7edbaf6be4 (diff) | |
parent | 8124941f68eaec82ae372424979bf745db9ba9eb (diff) | |
download | otp-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.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 |