Changeset 39d9d3f5


Ignore:
Timestamp:
Aug 9, 2012 3:12:17 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
1e8e2a19
Parents:
8bada7f8
Message:
  • SAM: Don't use direct byte buffers for streams (ticket #679) DatagramServer? one stays as it is a singleton.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • apps/sam/java/src/net/i2p/sam/SAMStreamSession.java

    r8bada7f8 r39d9d3f5  
    567567
    568568            int read = -1;
    569             ByteBuffer data = ByteBuffer.allocateDirect(SOCKET_HANDLER_BUF_SIZE);
     569            ByteBuffer data = ByteBuffer.allocate(SOCKET_HANDLER_BUF_SIZE);
    570570
    571571            try {
  • apps/sam/java/src/net/i2p/sam/SAMv2StreamSession.java

    r8bada7f8 r39d9d3f5  
    511511
    512512                                        int read = -1;
    513                                         ByteBuffer data = ByteBuffer.allocateDirect(SOCKET_HANDLER_BUF_SIZE);
     513                                        ByteBuffer data = ByteBuffer.allocate(SOCKET_HANDLER_BUF_SIZE);
    514514
    515515                                        try
  • history.txt

    r8bada7f8 r39d9d3f5  
     12012-08-09 zzz
     2 * Datagrams: Remove static logs
     3 * i2psnark:
     4   - Remove static SnarkManager instance
     5   - Allow DHT-only torrents
     6   - DHT debugging
     7 * NTCP: Stat cleanup
     8 * SAM:
     9   - Don't use direct byte buffers that may be leaking (ticket #679)
     10   - Volatiles and finals
     11 * SSU:
     12   - Don't send a packet that exceeds the MTU
     13   - Stub out local MTU detection (ticket #682)
     14   - More cleanups
     15
    1162012-08-07 str4d
    217 * Console:
  • router/java/src/net/i2p/router/RouterVersion.java

    r8bada7f8 r39d9d3f5  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 4;
     21    public final static long BUILD = 5;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.