comparison src/ch/ethz/ssh2/transport/TransportManager.java @ 321:c19b24adf6c9 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 08:49:37 -0700
parents 5afb8c1a54b9
children a713e91c59c8
comparison
equal deleted inserted replaced
320:5afb8c1a54b9 321:c19b24adf6c9
217 try { 217 try {
218 receiveLoop(); 218 receiveLoop();
219 // Can only exit with exception 219 // Can only exit with exception
220 } 220 }
221 catch (IOException e) { 221 catch (IOException e) {
222 close(e); 222 close(e, false);
223 log.warning(e.getMessage()); 223 log.warning(e.getMessage());
224 224
225 // Tell all handlers that it is time to say goodbye 225 // Tell all handlers that it is time to say goodbye
226 if (km != null) { 226 if (km != null) {
227 km.handleFailure(e); 227 km.handleFailure(e);
276 276
277 try { 277 try {
278 tc.sendMessage(msg); 278 tc.sendMessage(msg);
279 } 279 }
280 catch (IOException e) { 280 catch (IOException e) {
281 close(e); 281 close(e, false);
282 throw e; 282 throw e;
283 } 283 }
284 } 284 }
285 } 285 }
286 286
409 409
410 try { 410 try {
411 tc.sendMessage(msg); 411 tc.sendMessage(msg);
412 } 412 }
413 catch (IOException e) { 413 catch (IOException e) {
414 close(e); 414 close(e, false);
415 throw e; 415 throw e;
416 } 416 }
417 } 417 }
418 } 418 }
419 419