[freenet-cvs] r17507 - trunk/freenet/src/freenet/node
robert at freenetproject.org
robert at freenetproject.org
Mon Feb 4 18:31:21 UTC 2008
Author: robert
Date: 2008-02-04 18:31:21 +0000 (Mon, 04 Feb 2008)
New Revision: 17507
Modified:
trunk/freenet/src/freenet/node/RequestSender.java
Log:
supply the timeLeft calculation to the requestHandler
Modified: trunk/freenet/src/freenet/node/RequestSender.java
===================================================================
--- trunk/freenet/src/freenet/node/RequestSender.java 2008-02-04 16:23:18 UTC (rev 17506)
+++ trunk/freenet/src/freenet/node/RequestSender.java 2008-02-04 18:31:21 UTC (rev 17507)
@@ -616,6 +616,9 @@
// Subtract 1% for good measure / to compensate for dodgy clocks
timeLeft -= origTimeLeft / 100;
+ //Store the timeleft so that the requestHandler can get at it.
+ recentlyFailedTimeLeft = timeLeft;
+
// Kill the request, regardless of whether there is timeout left.
// If there is, we will avoid sending requests for the specified period.
// FIXME we need to create the FT entry.
More information about the cvs
mailing list