* NTCP: Fix NPE (ticket #996)

(hopefully)
This commit is contained in:
zzz
2014-05-10 14:42:13 +00:00
parent cd91a6b2a4
commit 72c404c4d4

View File

@ -119,7 +119,8 @@ class NTCPConnection {
private long _lastReceiveTime;
private long _lastRateUpdated;
private final long _created;
private long _nextMetaTime;
// prevent sending meta before established
private long _nextMetaTime = Long.MAX_VALUE;
private int _consecutiveZeroReads;
private static final int BLOCK_SIZE = 16;