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

matthew_swift
21.17.2008 d696d8f9c4b425df6fbb2d523d7dc503745fcb72
refs
author matthew_swift <matthew_swift@localhost>
Monday, January 21, 2008 13:17 +0100
committer matthew_swift <matthew_swift@localhost>
Monday, January 21, 2008 13:17 +0100
commitd696d8f9c4b425df6fbb2d523d7dc503745fcb72
tree 3b34d1d88aa0768f1f181fec42e2983c6dfea879 tree | zip | gz
parent b6644c452624e2de72d7ddf37b1603de887a26a0 view | diff
Fix issue 2850.

Modify the LDAPClientConnection.cancelAllOperations(...) method to pre-emptively set a CancelResult in pending operations thus preventing the subsequent cancel request from blocking (this can cause very slow LDAP disconnects and potentially freeze the server). Fix a similar problem that can occur while shutting down the work queue.
11 files modified
108 ■■■■■ changed files
opends/src/server/org/opends/server/core/AddOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/BindOperationBasis.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/CompareOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DeleteOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ExtendedOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ModifyDNOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ModifyOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/SearchOperationBasis.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/UnbindOperationBasis.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/TraditionalWorkQueue.java 10 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 43 ●●●● diff | view | raw | blame | history