# HG changeset patch # User Carl Byington # Date 1406820993 25200 # Node ID 5afb8c1a54b98ae09b7254690a1395300d726ee8 # Parent 776a220dbcc6189462fd24579c259421c365b3ff add ecdsa key support everywhere diff -r 776a220dbcc6 -r 5afb8c1a54b9 src/ch/ethz/ssh2/Connection.java --- a/src/ch/ethz/ssh2/Connection.java Thu Jul 31 08:20:47 2014 -0700 +++ b/src/ch/ethz/ssh2/Connection.java Thu Jul 31 08:36:33 2014 -0700 @@ -860,7 +860,7 @@ } catch (IOException e) { // This will also invoke any registered connection monitors - close(e); + close(e, false); synchronized (state) { /* Show a clean exception, not something like "the socket is closed!?!" */ diff -r 776a220dbcc6 -r 5afb8c1a54b9 src/ch/ethz/ssh2/auth/AuthenticationManager.java --- a/src/ch/ethz/ssh2/auth/AuthenticationManager.java Thu Jul 31 08:20:47 2014 -0700 +++ b/src/ch/ethz/ssh2/auth/AuthenticationManager.java Thu Jul 31 08:36:33 2014 -0700 @@ -309,7 +309,7 @@ throw new PacketTypeException(type); } catch (IOException e) { - tm.close(e); + tm.close(e, false); throw e; } } @@ -320,7 +320,7 @@ return authenticated; } catch (IOException e) { - tm.close(e); + tm.close(e, false); throw e; } } @@ -354,7 +354,7 @@ throw new PacketTypeException(type); } catch (IOException e) { - tm.close(e); + tm.close(e, false); throw e; } } @@ -409,7 +409,7 @@ } } catch (IOException e) { - tm.close(e); + tm.close(e, false); throw e; } } diff -r 776a220dbcc6 -r 5afb8c1a54b9 src/ch/ethz/ssh2/transport/TransportManager.java --- a/src/ch/ethz/ssh2/transport/TransportManager.java Thu Jul 31 08:20:47 2014 -0700 +++ b/src/ch/ethz/ssh2/transport/TransportManager.java Thu Jul 31 08:36:33 2014 -0700 @@ -127,8 +127,8 @@ private boolean flagKexOngoing; - private boolean connectionClosed; - private IOException reasonClosedCause; + private boolean connectionClosed; + private Throwable reasonClosedCause; private TransportConnection tc; private KexManager km;