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

neil_a_wilson
31.31.2006 57a1a2d18386d01af5a3f6d72e63afe2b2954c71
refs
author neil_a_wilson <neil_a_wilson@localhost>
Thursday, August 31, 2006 22:31 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Thursday, August 31, 2006 22:31 +0200
commit57a1a2d18386d01af5a3f6d72e63afe2b2954c71
tree ba7738f52167ce61a9aa4a19443e38ce0a7be19f tree | zip | gz
parent faa5d65e0d00349e8f04b682b7b063358acecc9f view | diff
Update a number of the client-side tools provided with OpenDS to ensure that
they use consistently incrementing message IDs for requests sent to the server.
In at least one case, it was possible for the same message ID to be used by the
client for two consecutive requests, which could trigger a race condition that
caused the server to refuse the second request.

Note that the underlying race condition still exists in the Directory Server
and will need to be addressed through a separate set of changes.

Reviwed By: David Page
OpenDS Issue Number: 614
7 files modified
173 ■■■■■ changed files
opends/src/server/org/opends/server/tools/LDAPCompare.java 29 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPConnection.java 33 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPDelete.java 31 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPModify.java 23 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPPasswordModify.java 26 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPSearch.java 23 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/StopDS.java 8 ●●●● diff | view | raw | blame | history