From 32d694939d9deac5b4ef008855c2fe1dc97513a3 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Tue, 03 Aug 2010 16:19:34 +0000
Subject: [PATCH] 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.

---
 opends/src/server/org/opends/server/tools/PromptTrustManager.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/PromptTrustManager.java b/opends/src/server/org/opends/server/tools/PromptTrustManager.java
index 014c7e8..cfbbc9f 100644
--- a/opends/src/server/org/opends/server/tools/PromptTrustManager.java
+++ b/opends/src/server/org/opends/server/tools/PromptTrustManager.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2008 Sun Microsystems, Inc.
+ *      Copyright 2008-2010 Sun Microsystems, Inc.
  */
 package org.opends.server.tools;
 import org.opends.messages.Message;
@@ -39,7 +39,6 @@
 import javax.net.ssl.X509TrustManager;
 
 import static org.opends.messages.ToolMessages.*;
-import static org.opends.server.util.StaticUtils.*;
 
 
 

--
Gitblit v1.10.0