You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2024/03/31 10:29:00 UTC
[jira] [Resolved] (DIRAPI-398) Release Pooled LDAP Connections when closed
[ https://issues.apache.org/jira/browse/DIRAPI-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lécharny resolved DIRAPI-398.
--------------------------------------
Fix Version/s: 2.1.7
Resolution: Fixed
Thanks Brian!
I committed the second proposal.
> Release Pooled LDAP Connections when closed
> -------------------------------------------
>
> Key: DIRAPI-398
> URL: https://issues.apache.org/jira/browse/DIRAPI-398
> Project: Directory Client API
> Issue Type: Improvement
> Reporter: Brian Demers
> Priority: Major
> Fix For: 2.1.7
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org