Changeset 269a36c


Ignore:
Timestamp:
Aug 12, 2012 11:11:45 AM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a76f840
Parents:
36bf248
Message:
  • Jetty: Don't use direct byte buffers that may be leaking (ticket #679)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java

    r36bf248 r269a36c  
    340340                        lsnr.setMaxIdleTime(90*1000);  // default 10 sec
    341341                        lsnr.setName("ConsoleSocket");   // all with same name will use the same thread pool
     342                        lsnr.setUseDirectBuffers(false);  // default true seems to be leaky
    342343                        //_server.addConnector(lsnr);
    343344                        connectors.add(lsnr);
     
    399400                            ssll.setMaxIdleTime(90*1000);  // default 10 sec
    400401                            ssll.setName("ConsoleSocket");   // all with same name will use the same thread pool
     402                            ssll.setUseDirectBuffers(false);  // default true seems to be leaky
    401403                            //_server.addConnector(ssll);
    402404                            connectors.add(ssll);
  • installer/resources/eepsite/jetty-ssl.xml

    r36bf248 r269a36c  
    1717        <Set name="Port">8443</Set>
    1818        <Set name="maxIdleTime">30000</Set>
     19        <Set name="useDirectBuffers">false</Set>
    1920        <Set name="handshakeTimeout">2000</Set>
    2021        <Set name="keystore">./eepsite/etc/keystore.ks</Set>
  • installer/resources/eepsite/jetty.xml

    r36bf248 r269a36c  
    102102            <Set name="lowResourcesConnections">5000</Set>
    103103            <Set name="lowResourcesMaxIdleTime">5000</Set>
     104            <Set name="useDirectBuffers">false</Set>
    104105          </New>
    105106      </Arg>
Note: See TracChangeset for help on using the changeset viewer.