Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-55316

Disconnect LDAP connections out of line

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

      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@mongodb.com Mark Benvenuto
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: