Changeset ab38e35


Ignore:
Timestamp:
Sep 8, 2011 2:08:38 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f3521228
Parents:
b64eff9
Message:
  • NTCP: Hopefully fix race NPE, thx devzero
File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/ntcp/Reader.java

    rb64eff9 rab38e35  
    163163                con.recvEncryptedI2NP(ByteBuffer.wrap(est.getExtraBytes()));
    164164        }
     165        // catch race?
     166        if (!con.isEstablished())
     167            return;
    165168        while (!con.isClosed() && (buf = con.getNextReadBuf()) != null) {
    166169            // decrypt the data and push it into an i2np message
Note: See TracChangeset for help on using the changeset viewer.