Menu

GetEntryLDAPConnectionPoolHealthCheck is not threadsafe

2014-01-17
2014-01-20
  • Nicolas Labrot

    Nicolas Labrot - 2014-01-17

    Hello,

    GetEntryLDAPConnectionPoolHealthCheck is annotated as COMPLETELY_THREADSAFE. But it used a final SearchRequest which is not thread safe.

    Concurrent LDAP connection behave unexpectidly when GetEntryLDAPConnectionPoolHealthCheck health check is set.

    Regards,

    Nicolas

     
  • Neil Wilson

    Neil Wilson - 2014-01-17

    Thanks for pointing this out. I have committed a fix for the problem.

    Neil

     
  • Nicolas Labrot

    Nicolas Labrot - 2014-01-20

    Thanks!

     
  • Nicolas Labrot

    Nicolas Labrot - 2014-01-20

    Have you already schedule the next release of the SDK?

    Thanks,

    Nicolas

     
  • Neil Wilson

    Neil Wilson - 2014-01-20

    There's no definite timeline right now. I do have at least a couple of changes I want to get in before the next release. It will hopefully not be more than a few weeks. You can of course check out and build the LDAP SDK for yourself if you want it sooner than that, or create your own custom connection pool health check to address this specific problem.

     

Log in to post a comment.