-
Notifications
You must be signed in to change notification settings - Fork 455
Unbind not working with node 10 #483
Comments
The same applies to node 10.4.1 |
I can confirm that that unbind callback isn't being called in node any v10. The last working version was node v9. |
There's a pull request attempting to fix this (#485) but it's failing some tests still. |
Pardon the pun but I am really in a bind to get this fix :). @jgeurts: Would you mind giving a fork? |
I believe this issue is caused by some weird behavior of Nodejs 10. Opened nodejs/node#24577 |
@purplemana It's fixed with https://www.npmjs.com/package/ldapts, if you want to give that a go. |
@jgeurts I just switched to using |
Please track #524. |
Please include a minimal reproducible example |
When I try to use ldapjs
client.unbind
with node 10.0.0 (or 10.4.0) it does not work and the callback of unbind is never called. I debugged and it seems something in_sendSocket
stops working, the functionmessageCallback
is never called. While debugging it worked sometimes and theUnbindResponse
was received successfully, but most of the time it didn't work, so I was wondering if it might be some timing issue, as while debugging everything runs slower/stepped.The last trace log I see is:
The code is
The text was updated successfully, but these errors were encountered: