Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding patch for ldaps concurrent failures.
As per issue ldapjs#329 a race condition can occur that will emit events before the callback has had a chance to listen to them. We were able to replicate this about 60% of the time, causing timeout issues internally when in fact while looking at the trace logs, the search results returned. Easiest to replicate with single result searches. With these changes, we 100% verified that we no longer are missing events and it works as intended. Thanks to @javefang for the fix!
- Loading branch information