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

ludovicp
03.19.2010 0f3cac44358c94a24affd91a256c6ef08cb0d979
refs
author ludovicp <ludovicp@localhost>
Tuesday, August 3, 2010 18:19 +0200
committer ludovicp <ludovicp@localhost>
Tuesday, August 3, 2010 18:19 +0200
commit0f3cac44358c94a24affd91a256c6ef08cb0d979
tree a0774c2bd39c47aecd1ec0350ff388d2aa315d6b tree | zip | gz
parent c9610c448ca3a7faa41685afb799e98f676fd70f view | diff
Revert commit 6559 and complete commit 6550.
There were some inconsistencies in the way the connectTimeout was applied to the tools.
The time out should only apply to the establishing of the connection not to every operation done in the connection. But due to a defect, the timeout was kept for all subsequent operations preventing some of them to complete.
The proposed changes reset the timeout of the socket to 0 (no timeout) once the connection has been established.
Default connection timeout has been reset to 30 seconds for all tools.
7 files modified
48 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPCompare.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPConnection.java 23 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPDelete.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPModify.java 5 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPPasswordModify.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearch.java 5 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/PromptTrustManager.java 3 ●●●● diff | view | raw | blame | history