mirror of https://github.com/zlatinb/muwire
do not exit accept loop on I2PExceptions, GitHub issue #123
parent
09c43b8b6c
commit
9e8d6fe013
|
@ -123,7 +123,9 @@ class ConnectionAcceptor {
|
|||
def incoming
|
||||
try {
|
||||
incoming = acceptor.accept()
|
||||
} catch (I2PException i2PException) {
|
||||
} catch (I2PException|ConnectException i2PException) {
|
||||
if (shutdown)
|
||||
throw i2PException
|
||||
log.log(Level.WARNING, "I2P exception, maybe router disconnected?", i2PException)
|
||||
Thread.sleep(10)
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue