mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-06-07 08:51:42 +00:00
* if we send a blank ACK message (that will not in turn be ACKed) and it
has session tags within it, send an additional ping to the peer, bundling those tags a second time, ACKing those tags on the pong. * handle packets transferred during a race after the receiver ACKs the connection but before the establisher receives the ACK. * notify the messageInputStream reader on close (duh) * new stream sink test, shoving lots and lots of data down a stream with the existing StreamSinkServer and StreamSinkClient apps * logging
This commit is contained in:
@@ -149,7 +149,11 @@ public class MessageInputStream extends InputStream {
|
||||
|
||||
public void closeReceived() {
|
||||
synchronized (_dataLock) {
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
_log.debug("Close received, ready size: " + _readyDataBlocks.size()
|
||||
+ " not ready: " + _notYetReadyBlocks.size(), new Exception("closed"));
|
||||
_closeReceived = true;
|
||||
_dataLock.notifyAll();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user