forked from I2P_Developers/i2p.i2p
socket error log fix
This commit is contained in:
@ -111,6 +111,7 @@ public class I2PTunnelDCCServer extends I2PTunnelServer {
|
|||||||
if (_log.shouldLog(Log.WARN))
|
if (_log.shouldLog(Log.WARN))
|
||||||
_log.warn("Incoming DCC connection for I2P port " + myPort +
|
_log.warn("Incoming DCC connection for I2P port " + myPort +
|
||||||
" sending to " + local.ia + ':' + local.port);
|
" sending to " + local.ia + ':' + local.port);
|
||||||
|
try {
|
||||||
Socket s = new Socket(local.ia, local.port);
|
Socket s = new Socket(local.ia, local.port);
|
||||||
_sockList.add(socket);
|
_sockList.add(socket);
|
||||||
new I2PTunnelRunner(s, socket, slock, null, _sockList);
|
new I2PTunnelRunner(s, socket, slock, null, _sockList);
|
||||||
@ -121,8 +122,8 @@ public class I2PTunnelDCCServer extends I2PTunnelServer {
|
|||||||
try {
|
try {
|
||||||
socket.close();
|
socket.close();
|
||||||
} catch (IOException ioe) {}
|
} catch (IOException ioe) {}
|
||||||
if (_log.shouldLog(Log.ERROR))
|
_log.error("Error relaying incoming DCC connection to IRC client at " + local.ia + ':' + local.port, ex);
|
||||||
_log.error("Error connecting to server " + remoteHost + ':' + remotePort, ex);
|
}
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
_log.error("Error while waiting for I2PConnections", ex);
|
_log.error("Error while waiting for I2PConnections", ex);
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
2011-11-26 zzz
|
||||||
|
* DCCServer: Socket error log fix
|
||||||
|
|
||||||
2011-11-23 zzz
|
2011-11-23 zzz
|
||||||
* CryptixAESEngine: Fix bogus bounds checks
|
* CryptixAESEngine: Fix bogus bounds checks
|
||||||
* NTCP:
|
* NTCP:
|
||||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 7;
|
public final static long BUILD = 8;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
Reference in New Issue
Block a user