* 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:
jrandom
2004-10-24 23:23:35 +00:00
committed by zzz
parent 9680effb9f
commit 8de41acfe1
15 changed files with 248 additions and 66 deletions
@@ -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();
}
}