Changeset 6c2eb31


Ignore:
Timestamp:
Aug 20, 2012 12:10:10 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
715bde5
Parents:
05516f3
Message:
  • I2PTunnelRunner: Remove unnecessary lock (ticket #690)
File:
1 edited

Legend:

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

    r05516f3 r6c2eb31  
    146146            if (initialI2PData != null) {
    147147                // why synchronize this? we could be in here a LONG time for large initial data
    148                 synchronized (slock) {
     148                //synchronized (slock) {
    149149                    // this does not increment totalSent
    150150                    i2pout.write(initialI2PData);
     
    160160                    if (initialI2PData.length <= 1730)   // ConnectionOptions.DEFAULT_MAX_MESSAGE_SIZE
    161161                        i2pout.flush();
    162                 }
     162                //}
    163163            }
    164164            if (initialSocketData != null) {
Note: See TracChangeset for help on using the changeset viewer.