Author: toad
Date: 2009-01-16 16:31:48 +0000 (Fri, 16 Jan 2009)
New Revision: 25091

Modified:
   trunk/freenet/src/freenet/node/Version.java
Log:
1198: (mandatory MIDNIGHT GMT)
Turtling support:
- If a transfer answering a request takes more than 60 seconds, switch it to 
turtle mode.
- Kill all downstream transfers with a new turtling code, download the data 
locally for our purposes (it will be offered to requesters via ULPRs eventually)
- Limits: there may only be 10 turtle transfers total, 3 per peer, 2 per key 
overall and 1 per key per peer. If there are too many we kill the new ones.
- We do not transfer coalesce against turtles.
- We do not route a key to a node on which we have a turtle incoming for that 
key.
- Backoff on a transfer timeout, or on going to turtle mode (within 30 seconds 
or on completion, if no cancellation is received). Add to failure table like a 
DNF if a cancellation *is* received.
- When killing downstream transfers, also call request sender finished 
(TRANSFER_FAILED).
- Various related statistics on the stats page or in logging.
- Treat going into turtle mode as transfer failed for local requests, finish 
waiting when go into turtle mode.
Request handling:
- Maybe fix a UID leak when disconnected after starting a transfer.
- Don't re-check status in realGetCHK (not sure why we did this since we didn't 
wait, maybe legacy code?)
Web interface:
- Fix a bucket leak when serving static CSS pages.
Stats:
- Show proportion of failed regular (incoming non-get-offered-key request 
replies) transfers which timed out, and proportion which were turtled by 
downstream nodes.
- Include non-get-offered-key request transfers in block receive stats.
Dev stuff:
- Logging.
- Log the fact that a downstream transfer was aborted (by going into turtle 
mode) in the UIDTag just in case of leaks.
- Log handler (request originator) disconected on RequestTag's.
- Delete non-used tookTooLong code.


Installer: (toad)
- Delete dont-close-me stuff from install_wrapper.cmd (no longer exists).
- Lots of logging to try to catch a bug.

wxFCP (saces):
- FCP library for wxWidgets. Hopefully this will develop into a dedicated 
Freenet browser.
- Currently at the Hello, world! stage.
- Uses GPL with linking exception, so saces will have to write his own FCP lib.


Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2009-01-16 16:25:47 UTC (rev 
25090)
+++ trunk/freenet/src/freenet/node/Version.java 2009-01-16 16:31:48 UTC (rev 
25091)
@@ -24,17 +24,17 @@
        public static final String protocolVersion = "1.0";
 
        /** The build number of the current revision */
-       private static final int buildNumber = 1197;
+       private static final int buildNumber = 1198;
 
        /** Oldest build of Fred we will talk to */
-       private static final int oldLastGoodBuild = 1196;
-       private static final int newLastGoodBuild = 1197;
+       private static final int oldLastGoodBuild = 1197;
+       private static final int newLastGoodBuild = 1198;
        static final long transitionTime;
        
        static {
                final Calendar _cal = 
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
                // year, month - 1 (or constant), day, hour, minute, second
-               _cal.set( 2009, Calendar.JANUARY, 14, 0, 0, 0 );
+               _cal.set( 2009, Calendar.JANUARY, 17, 0, 0, 0 );
                transitionTime = _cal.getTimeInMillis();
        }
        

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to