The CFLDAP timeout attribute seems to have changed behavior in Lucee 6

We have a code that uses CFLDAP with timeout="10". The documentation indicates that this value is in seconds.

Starting with Lucee 6, we received a timeout error message indicating a duration greater than 10ms.

We tested on trycf.com using Lucee 5 successfully. In versions 6 and 7, we encountered the error with the following message:
‘LDAP response read timed out, timeout used: 10 ms.’

We would like to know if the timeout attribute has changed its unit from seconds to milliseconds.

1 Like

The exception is indeed correct, Timeout support was both fixed and changed to match ACF in 6

https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-j-l/cfldap.html

https://luceeserver.atlassian.net/browse/LDEV-1860

I have updated the docs, sorry I missed that

2 Likes

Thank you @Zackster !