[Date Prev][Date Next]
(ITS#8288) Asyncronous Disconnect Handlers Not Firing
Full_Name: Jeremy Childs
Submission from: (NULL) (184.108.40.206)
I?m seeing an issue with async reconnects in libldap 2.4.42 - when the remote
server disconnects unexpectedly and there are requests in the queue,
request.c:196 calls ldap_free_connection with the force parameter set to 0.
Since apap_free_connection won?t actually free anything (or call the disconnect
handler) until the refcount is zero, nothing happens.
Testing with the force parameter set to 1 addresses the issue, the pending
requests get freed, and the connection itself frees, calling the disconnect
handler in the process.