Author: toad
Date: 2008-12-16 19:06:34 +0000 (Tue, 16 Dec 2008)
New Revision: 24387
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1194: (MANDATORY FRIDAY)
Connectivity:
- Packet scheduling: Send packets to peers not subject to throttling even if we
have run out of bandwidth on this round.
- Packet scheduling: Don't reset idx to 0 after each round of not sending any
packets. This was causing a severe unfairness, advantaging nodes early in the
list and causing connection timeouts for later nodes.
- Packet scheduling: Don't forget to start the ARK fetcher for a node just
because it's throttled (minor: we go around often enough that we'd enable it
anyway sooner or later).
- Don't send a keepalive right after connecting, no point as we send other
messages anyway.
- Possibly finally solve the "Forced disconnect of N peers because failed to
acknowledge packets after 10 minutes" bug. I'm not sure whether it's the
correct fix though. Details:
- When reconnecting/rekeying, if the other side decides not to reuse the
PacketTracker, assume that they have gotten rid of it and call
completelyDeprecated on it.
- AFAICS this can happen "naturally" (race conditions etc), and is therefore a
valid fix... but I'm not 100% sure, so I'm logging an ERROR for now.
Bulk transfer: (especially for Update Over Mandatory, also used for opennet
path folding and p2p file transfer)
- Wait for all packets in flight to be sent before failing with a timeout.
- Add an optional message callback when sending a throttled packet.
- When we force disconnect because a node is continually changing its IP
address, throw a NotConnectedException to inform the caller.
Updating:
- On downloading a new main jar, parse the manifest to find the required and
recommended ext versions.
- Do not deploy a new update unless the ext version is compatible with the main
jar version.
- Restart the ext fetcher if necessary to find a compatible ext version.
- Cancel existing ext fetches if they are incompatible or we are only fetching
the current version.
Opennet:
- Allow TOO OLD opennet peers to connect for 1 hour, don't count them towards
the connection limit. They were being forcibly disconnected when we went over
the limit for other reasons, not being given enough time to download the
updates over UOM.
L10n:
- Finnish update from Smar.
Web interface:
- Make the content box full width.
Plugins:
- Implement proper terminate() function with a boolean, don't join() as the
thread will be reused.
TCP server socket code: (used by plugins, fproxy etc)
- Timeout properly. We were not timing out properly resulting in plugins not
being unloadable.
- Timeout when the interface is shut down (and hence there are no acceptor
threads).
- Let plugins know their classloader, necessary for db4o.
Dev stuff:
- Logging.
XMLSpider:
- Store everything in the database, get rid of the big structures that use all
the RAM. Saves a lot of code too!
- Resume should work.
- Don't process a result until after we finish writing the index.
- Don't start requests immediately on finding a new URI.
- Be more conservative guessing the prefix length.
- Synchronization fixes.
- Remove from runningFetch at the end of onSuccess/onFailure, in a finally
block.
- Use PageMaker, make the output look better, and display more status, allow to
add a URI manually etc.
- Better support for stopped flag, presumably faster unload.
- writingIndex flag to prevent infinite recursion in makeIndex().
- Rename methods: generateIndex2 -> makeSubIndices, produceIndex2 ->
makeMainIndex.
- Delete unused code.
- Remove unused plugin interface FredPluginHTTPAdvanced.
- Logging.
- Indenting.
Web interface:
- Document procedure for reactivating a moved node on unix on the download
page, link from the install page.
esr
FloppusMaximus
Smar
toad
xor (aka p0s)
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-12-16 19:05:44 UTC (rev
24386)
+++ trunk/freenet/src/freenet/node/Version.java 2008-12-16 19:06:34 UTC (rev
24387)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1193;
+ private static final int buildNumber = 1194;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1192;
- private static final int newLastGoodBuild = 1193;
+ private static final int oldLastGoodBuild = 1193;
+ private static final int newLastGoodBuild = 1194;
static final long transitionTime;
static {
final Calendar _cal =
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
// year, month - 1 (or constant), day, hour, minute, second
- _cal.set( 2008, Calendar.DECEMBER, 16, 0, 0, 0 );
+ _cal.set( 2008, Calendar.DECEMBER, 19, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs