[Fedora-directory-commits] console/src/com/netscape/management/client/comm HttpChannel.java, 1.2, 1.3 HttpsChannel.java, 1.3, 1.4

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Tue Jul 15 17:27:00 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/console/src/com/netscape/management/client/comm
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console/src/com/netscape/management/client/comm

Modified Files:
	HttpChannel.java HttpsChannel.java 
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information



Index: HttpChannel.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/comm/HttpChannel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- HttpChannel.java	13 Jun 2007 20:33:08 -0000	1.2
+++ HttpChannel.java	15 Jul 2008 17:26:56 -0000	1.3
@@ -135,7 +135,6 @@
         }
         
         if (thread != null) {
-            thread.stop();
             thread = null;
         }
     }
@@ -166,10 +165,13 @@
             } catch (IOException e) {
                 Debug.println(name + " error> " + e);
                 kill();
+                break;
             }
 
-            if (cr == null)
+            if (cr == null) {
                 kill();
+                break;
+            }
 
             cr.setChannel(this);
 


Index: HttpsChannel.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/comm/HttpsChannel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- HttpsChannel.java	13 Jun 2007 20:33:08 -0000	1.3
+++ HttpsChannel.java	15 Jul 2008 17:26:56 -0000	1.4
@@ -451,8 +451,6 @@
         socket = null;
 
         Debug.println(name + " close> Closed");
-
-        thread.stop();
     }
 
     // Show dialog on the EventDispatchThread




More information about the Fedora-directory-commits mailing list