Changeset e2afb72


Ignore:
Timestamp:
Feb 1, 2018 1:47:43 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
cccf76c
Parents:
40e12b4
Message:

i2ptunnel: Reset connection if out of threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelServer.java

    r40e12b4 re2afb72  
    560560                    } catch (RejectedExecutionException ree) {
    561561                         try {
    562                              i2ps.close();
     562                             i2ps.reset();
    563563                         } catch (IOException ioe) {}
    564564                         if (open)
    565565                             _log.logAlways(Log.WARN, "ServerHandler queue full, dropping incoming connection to " +
    566566                                        remoteHost + ':' + remotePort +
    567                                         "; increase server max threads or " + PROP_HANDLER_COUNT);
     567                                        "; increase server max threads or " + PROP_HANDLER_COUNT +
     568                                        "; current is " + getHandlerCount());
    568569                    }
    569570                } else {
Note: See TracChangeset for help on using the changeset viewer.