Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-444

InvalidateConnection can result in closed connection returned by getConnection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1, 2.1.1
    • 2.2.0
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            psteitz Phil Steitz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: