Changeset 1091a28
- Timestamp:
- Sep 6, 2008 1:49:31 PM (12 years ago)
- Branches:
- master
- Children:
- 9a2792e
- Parents:
- 536f5d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
router/java/src/net/i2p/router/transport/ntcp/EventPumper.java
r536f5d0 r1091a28 423 423 } else { 424 424 con.close(); 425 _transport.markUnreachable(con.getRemotePeer().calculateHash()); 425 426 _context.statManager().addRateData("ntcp.connectFailedTimeout", 1, 0); 426 427 } 427 } catch (IOException ioe) { 428 if (_log.shouldLog(Log.DEBUG)) _log.debug("Error processing connection", ioe); 428 } catch (IOException ioe) { // this is the usual failure path for a timeout or connect refused 429 if (_log.shouldLog(Log.WARN)) 430 _log.warn("Failed outbound connection to " + con.getRemotePeer().calculateHash(), ioe); 429 431 con.close(); 432 //_context.shitlist().shitlistRouter(con.getRemotePeer().calculateHash(), "Error connecting", NTCPTransport.STYLE); 433 _transport.markUnreachable(con.getRemotePeer().calculateHash()); 430 434 _context.statManager().addRateData("ntcp.connectFailedTimeoutIOE", 1, 0); 431 435 } catch (NoConnectionPendingException ncpe) { 432 433 436 // ignore 437 } 434 438 } 435 439
Note: See TracChangeset
for help on using the changeset viewer.