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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user