Closed simonhoss closed 9 years ago
Original code maintained a permanent connection to ldap server. You're suggesting to make one connection per every request.
I'm not familiar with ldap, but this is not a good solution imho. Can we catch that error and re-connect to ldap server when it happens? Maybe ldap library already does it somehow?
Fixed in https://github.com/rlidwka/sinopia-ldap/pull/9, sorry it took so long.
Otherwise nodejs throws an error: This socket has been ended by the other party