GitHub user FlorianHockmann opened a pull request:
https://github.com/apache/tinkerpop/pull/885
Add check for connection state before returning it TINKERPOP-1978
https://issues.apache.org/jira/browse/TINKERPOP-1978
This PR simply adds the requested check of whether a connection is actually
open that was returned from the pool before returning it to the driver. Before
it was possible that a connection would be used that was already closed while
it was in the connection pool.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/tinkerpop TINKERPOP-1978
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/885.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #885
----
commit c4a254726167d798617331ff3dd00ece97377b2d
Author: Florian Hockmann <fh@...>
Date: 2018-06-23T10:24:15Z
Add check for connection state before returning it TINKERPOP-1978
----
---