2005-07-21 jrandom

* Fix in the SDK for a bug which would manifest itself as misrouted
      streaming packets when a destination has many concurrent streaming
      connections (thanks duck!)
    * No more "Graceful shutdown in -18140121441141s"
This commit is contained in:
jrandom
2005-07-21 22:37:14 +00:00
committed by zzz
parent 3563aa2e4d
commit 45767360ab
9 changed files with 36 additions and 7 deletions

View File

@ -129,6 +129,8 @@ public class ConnectionManager {
} else {
_connectionByInboundId.put(ba, oldCon);
// receiveId already taken, try another
// (need to realloc receiveId, as ba.getData() points to the old value)
receiveId = new byte[4];
_context.random().nextBytes(receiveId);
}
}