InternalSocket: Implement more methods, add debug output, don't ignore interrupt on accept()

Close socket on InternalSocketRunner exception
This commit is contained in:
zzz
2017-12-13 16:06:13 +00:00
parent bd341d4be3
commit 5f413efc08
4 changed files with 89 additions and 28 deletions

View File

@@ -43,8 +43,8 @@ class InternalSocketRunner extends I2PAppThread {
if (this.open) {
Log log = new Log(InternalSocketRunner.class);
log.error("Error listening for internal connections on port " + this.port, ex);
stopRunning();
}
this.open = false;
}
}