Author: toad
Date: 2008-03-21 20:10:26 +0000 (Fri, 21 Mar 2008)
New Revision: 18694

Modified:
   trunk/freenet/src/freenet/io/xfer/PacketThrottle.java
Log:
Synchronization

Modified: trunk/freenet/src/freenet/io/xfer/PacketThrottle.java
===================================================================
--- trunk/freenet/src/freenet/io/xfer/PacketThrottle.java       2008-03-21 
20:09:58 UTC (rev 18693)
+++ trunk/freenet/src/freenet/io/xfer/PacketThrottle.java       2008-03-21 
20:10:26 UTC (rev 18694)
@@ -132,7 +132,7 @@
                return _roundTripTime;
        }

-       public double getWindowSize() {
+       public synchronized double getWindowSize() {
                return Math.max(1.0, _simulatedWindowSize);
        }



Reply via email to