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/12 18:55:46 UTC

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

Phil Steitz created DBCP-444:
--------------------------------

             Summary: 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.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)