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

matthew_swift
21.17.2008 e17281bc556b5373f23ce6f115b334f990b160bc
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
commite17281bc556b5373f23ce6f115b334f990b160bc
tree 5480eafc8161e9cc01ca4afe7ac7024cbf298e8f tree | zip | gz
parent 0df071f4aab05eb5aee458d2aafb48c0dc65b309 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
opendj-sdk/opends/src/server/org/opends/server/core/AddOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/BindOperationBasis.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/CompareOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/DeleteOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/ExtendedOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/ModifyDNOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/ModifyOperationBasis.java 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/SearchOperationBasis.java 5 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/UnbindOperationBasis.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/TraditionalWorkQueue.java 10 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 43 ●●●● diff | view | raw | blame | history