You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2015/08/13 15:53:45 UTC

[jira] [Resolved] (DBCP-444) InvalidateConnection can result in closed connection returned by getConnection

     [ 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)