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

Matthew Swift
12.26.2013 09f227d9000f4cd30d19191f514bbbd55dc4d40a
refs
author Matthew Swift <matthew.swift@forgerock.com>
Thursday, December 12, 2013 02:26 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Thursday, December 12, 2013 02:26 +0100
commit09f227d9000f4cd30d19191f514bbbd55dc4d40a
tree 623a66fa3f3d58e236714229bf6bdad5af45e9ff tree | zip | gz
parent 62a99190b142c8ede644d6ea9453d16d47e438df view | diff
Additional fixes OPENDJ-1247: Client side timeouts do not cancel bind or startTLS requests properly

* fix unit tests
* revert functionality which was abandoning expired requests as it introduces a potential, albeit very unlikely, race condition
* fix a bug which meant that the timeout checker could fail to enforce timeouts for the first LDAP connection
* minor improvements: only register connections which have a non-zero timeout; remove duplicate requestID field from LDAP future implementation.
5 files modified
649 ■■■■ changed files
opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/AbstractLDAPFutureResultImpl.java 16 ●●●● diff | view | raw | blame | history
opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/LDAPConnection.java 110 ●●●● diff | view | raw | blame | history
opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/LDAPConnectionFactoryImpl.java 5 ●●●● diff | view | raw | blame | history
opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/TimeoutChecker.java 47 ●●●●● diff | view | raw | blame | history
opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/LDAPConnectionFactoryTestCase.java 471 ●●●● diff | view | raw | blame | history