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

Disconnect LDAP connections out of line

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.15, 4.4.7, 5.0.0-rc0
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.2
    • Security 2021-05-03, Security 2021-05-17, Security 2021-05-31

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mark.benvenuto@mongodb.com Mark Benvenuto
              ben.caimano@mongodb.com Benjamin Caimano (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: