Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix spurious errors when closing inactive connections
When a connection is closed or reset before it is properly established, the existing ::getSession will log a spurious error since the connection has no attributes to extract for the pool type. Fix this by refactoring so that when closing a connection we only act on the session object if one already existed, i.e. the conn was used before.
- Loading branch information