[
https://issues.apache.org/jira/browse/DBCP-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Steitz resolved DBCP-444.
------------------------------
Resolution: Fixed
Unnecessary connection close removed in r1695710.
> InvalidateConnection can result in closed connection returned by getConnection
> ------------------------------------------------------------------------------
>
> Key: DBCP-444
> URL: https://issues.apache.org/jira/browse/DBCP-444
> Project: Commons Dbcp
> Issue Type: Bug
> Affects Versions: 2.1, 2.1.1
> Reporter: Phil Steitz
> Fix For: 2.1.2
>
>
> BasicDataSource#invalidateConnection closes the pooled connection before
> invalidating it. If a getConnection request arrives between the close and
> invalidate, a closed connection could be returned to a client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)