2004-12-01 jrandom
* Fix for a race in the streaming lib as caused by some odd SAM activity
This commit is contained in:
@ -78,14 +78,12 @@ public class PacketLocal extends Packet implements MessageOutputStream.WriteStat
|
||||
_ackOn = _context.clock().now();
|
||||
notifyAll();
|
||||
}
|
||||
_connection = null;
|
||||
}
|
||||
public void cancelled() {
|
||||
synchronized (this) {
|
||||
_cancelledOn = _context.clock().now();
|
||||
notifyAll();
|
||||
}
|
||||
_connection = null;
|
||||
}
|
||||
|
||||
/** how long after packet creation was it acked? */
|
||||
@ -116,11 +114,9 @@ public class PacketLocal extends Packet implements MessageOutputStream.WriteStat
|
||||
_acceptedOn = _context.clock().now();
|
||||
else
|
||||
_acceptedOn = -1;
|
||||
_connection = null;
|
||||
}
|
||||
|
||||
public void waitForCompletion(int maxWaitMs) {
|
||||
_connection = null;
|
||||
long expiration = _context.clock().now()+maxWaitMs;
|
||||
while (true) {
|
||||
long timeRemaining = expiration - _context.clock().now();
|
||||
|
@ -1,4 +1,7 @@
|
||||
$Id: history.txt,v 1.91 2004/12/01 17:31:56 jrandom Exp $
|
||||
$Id: history.txt,v 1.92 2004/12/01 19:27:27 jrandom Exp $
|
||||
|
||||
2004-12-01 jrandom
|
||||
* Fix for a race in the streaming lib as caused by some odd SAM activity
|
||||
|
||||
* 2004-12-01 0.4.2.2 released
|
||||
|
||||
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
||||
*
|
||||
*/
|
||||
public class RouterVersion {
|
||||
public final static String ID = "$Revision: 1.96 $ $Date: 2004/12/01 17:31:56 $";
|
||||
public final static String ID = "$Revision: 1.97 $ $Date: 2004/12/01 19:27:27 $";
|
||||
public final static String VERSION = "0.4.2.2";
|
||||
public final static long BUILD = 0;
|
||||
public final static long BUILD = 1;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + VERSION);
|
||||
System.out.println("Router ID: " + RouterVersion.ID);
|
||||
|
Reference in New Issue
Block a user