# HG changeset patch # User Carl Byington # Date 1406821777 25200 # Node ID c19b24adf6c98a93fbb5a42d243009431c7846a1 # Parent 5afb8c1a54b98ae09b7254690a1395300d726ee8 add ecdsa key support everywhere diff -r 5afb8c1a54b9 -r c19b24adf6c9 src/ch/ethz/ssh2/ServerConnection.java --- a/src/ch/ethz/ssh2/ServerConnection.java Thu Jul 31 08:36:33 2014 -0700 +++ b/src/ch/ethz/ssh2/ServerConnection.java Thu Jul 31 08:49:37 2014 -0700 @@ -362,7 +362,7 @@ state.cm.closeAllChannels(); if (state.tm != null) { - state.tm.close(); + state.tm.close(new Throwable("Closed due to user request."), false); } } } @@ -373,7 +373,7 @@ state.cm.closeAllChannels(); if (state.tm != null) { - state.tm.close(t); + state.tm.close(t, false); } } } diff -r 5afb8c1a54b9 -r c19b24adf6c9 src/ch/ethz/ssh2/transport/TransportManager.java --- a/src/ch/ethz/ssh2/transport/TransportManager.java Thu Jul 31 08:36:33 2014 -0700 +++ b/src/ch/ethz/ssh2/transport/TransportManager.java Thu Jul 31 08:49:37 2014 -0700 @@ -219,7 +219,7 @@ // Can only exit with exception } catch (IOException e) { - close(e); + close(e, false); log.warning(e.getMessage()); // Tell all handlers that it is time to say goodbye @@ -278,7 +278,7 @@ tc.sendMessage(msg); } catch (IOException e) { - close(e); + close(e, false); throw e; } } @@ -411,7 +411,7 @@ tc.sendMessage(msg); } catch (IOException e) { - close(e); + close(e, false); throw e; } }