This repository was archived by the owner on May 14, 2024. It is now read-only.

Description
I'm wondering if the functions on a client can be called concurrently?
I have a small test application which takes a list of usernames, fetch their details from ldap using ldapjs and print them to the console. Currently I implement it in the way that it create a single ldapjs client, bind it and then call "search" for each of the usernames concurrently.
It works fine when I'm connecting with unsecured "ldap" protocol. But when switched to "ldaps", all search still returns the event emitter, but some of them will never call "end" or "error".
I'm wondering if it is safe to call another search while one is still not finished? Thanks.
Environment:
windows 7
node v0.12.9
ldapjs 1.0.0