Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-398

Release Pooled LDAP Connections when closed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.7
    • None

    Description

      Connections returned from a connection pool should be "released" instead of closed.

      Ultimately the usage of a Pooled connection should be similar to a regular connection.
      It can be used in a try-with-resource block, then auto closed. In the case of a pooled connection, that `close()` call should return the connection to the pool.

      Related mailing list thread: https://lists.apache.org/thread/jpsg6g3sfspsgfpgn30kx4orspksnzm7

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bdemers Brian Demers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: