log tweak to help diagnose ServerSocket closed

This commit is contained in:
zzz
2015-03-28 10:54:00 +00:00
parent 72b9c92a6e
commit 956730c5e9
3 changed files with 8 additions and 4 deletions

View File

@@ -47,9 +47,9 @@ class ConnectionHandler {
public synchronized void setActive(boolean active) { public synchronized void setActive(boolean active) {
// FIXME active=false this only kills for one thread in accept() // FIXME active=false this only kills for one thread in accept()
// if they are more, they won't ket a poison packet. // if there are more, they won't get a poison packet.
if (_log.shouldLog(Log.DEBUG)) if (_log.shouldLog(Log.WARN))
_log.debug("setActive(" + active + ") called"); _log.warn("setActive(" + active + ") called, previously " + _active, new Exception("I did it"));
// if starting, clear any old poison // if starting, clear any old poison
// if stopping, the accept() loop will clear any pending sockets // if stopping, the accept() loop will clear any pending sockets
if (active && !_active) if (active && !_active)

View File

@@ -1,3 +1,7 @@
2015-03-25 zzz
* i2ptunnel HTTP client: Replace all getBytes() calls
with a Writer or getBytes("UTF-8") (ticket #457)
2015-03-24 zzz 2015-03-24 zzz
* Streaming: Throw I2PSocketException when connection is reset, * Streaming: Throw I2PSocketException when connection is reset,
display new error page in HTTP client (ticket #643) display new error page in HTTP client (ticket #643)

View File

@@ -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 = 11; public final static long BUILD = 12;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = "-rc"; public final static String EXTRA = "-rc";