Disconnect LDAP connections out of line

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.2.15, 4.4.7, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • v5.0, v4.2
    • Security 2021-05-03, Security 2021-05-17, Security 2021-05-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We currently invoke OpenLDAPConnection::disconnect() inline in the OpenLDAPConnection destructor. (We do a simliar thing for windows.) Unfortunately, this means that we invoke synchronous networking under a mutex if the handle is destroyed in returnConnection() here. We should schedule this disconnect call out of line instead so that we do not hold that mutex for a long period of time.

            Assignee:
            Mark Benvenuto
            Reporter:
            Benjamin Caimano (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: