comparison src/ch/ethz/ssh2/Connection.java @ 320:5afb8c1a54b9 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 08:36:33 -0700
parents 776a220dbcc6
children cd1d87edcbf6
comparison
equal deleted inserted replaced
319:776a220dbcc6 320:5afb8c1a54b9
858 catch (HTTPProxyException e) { 858 catch (HTTPProxyException e) {
859 throw e; 859 throw e;
860 } 860 }
861 catch (IOException e) { 861 catch (IOException e) {
862 // This will also invoke any registered connection monitors 862 // This will also invoke any registered connection monitors
863 close(e); 863 close(e, false);
864 864
865 synchronized (state) { 865 synchronized (state) {
866 /* Show a clean exception, not something like "the socket is closed!?!" */ 866 /* Show a clean exception, not something like "the socket is closed!?!" */
867 if (state.timeoutSocketClosed) { 867 if (state.timeoutSocketClosed) {
868 throw new SocketTimeoutException(String.format("The kexTimeout (%d ms) expired.", kexTimeout)); 868 throw new SocketTimeoutException(String.format("The kexTimeout (%d ms) expired.", kexTimeout));