You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by be...@apache.org on 2007/02/15 14:07:06 UTC
svn commit: r507920 -
/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/ClientThread.java
Author: bernt
Date: Thu Feb 15 05:07:05 2007
New Revision: 507920
URL: http://svn.apache.org/viewvc?view=rev&rev=507920
Log:
DERBY-2339 Fixed mistake in ClientThread
Modified:
db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/ClientThread.java
Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/ClientThread.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/ClientThread.java?view=diff&rev=507920&r1=507919&r2=507920
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/ClientThread.java (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/ClientThread.java Thu Feb 15 05:07:05 2007
@@ -95,26 +95,28 @@
} catch (javax.net.ssl.SSLException ssle) {
// SSLException is a subclass of
- // IOException, but we should not continue
- // if we get one. Print stack trace and...
+ // IOException. Print stack trace and...
parent.consoleExceptionPrintTrace(ssle);
- // ... we need to shutdown the server, since SSL for
- // some reason will not work.
+ // ... we need to do a controlled shutdown of the
+ // server, since SSL for some reason will not
+ // work.
parent.directShutdown();
return; // Exit the thread
} catch (IOException ioe) {
- // IOException are ignored. No console error message
- // if this was caused by a shutdown
+ // IOException causes this thread to stop. No
+ // console error message if this was caused by a
+ // shutdown
synchronized (parent.getShutdownSync()) {
if (!parent.getShutdown()) {
parent.consolePropertyMessage("DRDA_UnableToAccept.S");
}
}
+ return; // Exit the thread
}
} catch (Exception e) {
// Catch and log all other exceptions