forked from I2P_Developers/i2p.i2p
Fix more NPEs ticket #984
This commit is contained in:
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 6;
|
||||
public final static long BUILD = 7;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
@ -203,12 +203,12 @@ class NTCPConnection {
|
||||
//_outbound = new CoDelPriorityBlockingQueue(ctx, "NTCP-Connection", 32);
|
||||
_outbound = new PriBlockingQueue(ctx, "NTCP-Connection", 32);
|
||||
_isInbound = false;
|
||||
_establishState = new EstablishState(ctx, transport, this);
|
||||
_decryptBlockBuf = new byte[BLOCK_SIZE];
|
||||
_curReadState = new ReadState();
|
||||
_inboundListener = new InboundListener();
|
||||
_outboundListener = new OutboundListener();
|
||||
initialize();
|
||||
_establishState = new EstablishState(ctx, transport, this);
|
||||
}
|
||||
|
||||
private void initialize() {
|
||||
|
Reference in New Issue
Block a user