mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
25.23.2012 d6300a5ca611c059121fdaf0c54acd99772d48cc
refs
author Matthew Swift <matthew.swift@forgerock.com>
Thursday, October 25, 2012 19:23 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Thursday, October 25, 2012 19:23 +0200
commitd6300a5ca611c059121fdaf0c54acd99772d48cc
tree cb2307689ad5d776b953e60dfe29bf5f16656ddb tree | zip | gz
parent fea1541f450cf9bdfb6f7c06011abc9d4b15de34 view | diff
Fix OPENDJ-627: ConnectionPool internal state becomes invalid when stale connections are discarded

Release the semaphore when a stale connection is encountered.
2 files modified
22 ■■■■ changed files
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/FixedConnectionPool.java 20 ●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionPoolTestCase.java 2 ●●● diff | view | raw | blame | history