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

ludovicp
03.19.2010 32d694939d9deac5b4ef008855c2fe1dc97513a3
refs
author ludovicp <ludovicp@localhost>
Tuesday, August 3, 2010 18:19 +0200
committer ludovicp <ludovicp@localhost>
Tuesday, August 3, 2010 18:19 +0200
commit32d694939d9deac5b4ef008855c2fe1dc97513a3
tree de3dc71d48979cffadec6503ef15ddce1a108f7b tree | zip | gz
parent f1046e1003c399f3291b93f1fa4a6e6a69eddf0b 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
opends/src/server/org/opends/server/tools/LDAPCompare.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPConnection.java 23 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPDelete.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPModify.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPPasswordModify.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPSearch.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/PromptTrustManager.java 3 ●●●● diff | view | raw | blame | history