mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 23:53:08 +00:00
kaffe shits a brick if you want the socket's address after .close() (grumble)
This commit is contained in:
1 parent
d4bb32da82
commit
af2f5cd2e1
1 file changed
+1
-1
@@ -68,9 +68,9 @@ public class ClientListenerRunner implements Runnable {
|
||||
_log.debug("Connection received");
|
||||
runConnection(socket);
|
||||
} else {
|
||||
socket.close();
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Refused connection from " + socket.getInetAddress());
|
||||
socket.close();
|
||||
}
|
||||
} catch (IOException ioe) {
|
||||
_log.error("Server error accepting", ioe);
|
||||
|
||||
Reference in new issue
Block a user