I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 8abd99d1 authored by jrandom's avatar jrandom Committed by zzz
Browse files

2004-12-01 jrandom

    * Fix for a race in the streaming lib as caused by some odd SAM activity
parent 97e8ab7c
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
$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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment