Author: toad
Date: 2007-08-09 18:13:39 +0000 (Thu, 09 Aug 2007)
New Revision: 14566
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1051: (mandatory 0:00 14 august)
- opennet:
-- passOpennetPeersThroughDarknet: if enabled (default), we will relay opennet
noderefs (including its own) through our darknet peers. this does not
jeopardise any darknet noderef.
-- reset success count when we add a node. not if we don't, and do reset it
even if the nodes we replaced were disconnected. so we won't dump a connection
unless there have been 5 successes since the last time we added a node.
-- when considering whether to send an offer, we don't actually drop any peers
usually. but we still need to know whether the peer we would drop is
disconnected, because if it is, the offer throttle applies; if it doesn't, e.g.
because all our peers are disconnected, we can send multiple offers
-- don't attempt path folding in the handler if the transfer failed
- set default on allowInsecure* to false. This means that pre-1010 keys can no
longer be accessed, unless you manually set them to true. We still support
storing and transferring pre-1010 keys, for now. You MUST MOVE YOUR OLD SITES
if you don't want them to be lost when we remove support for pre-1010 keys.
- noderefs
-- location is now optional, as it will be communicated post-connect anyway; we
want a harvester to actually connect to find it out
- client stuff:
-- fix ArrayIndexOutOfBoundsException and NullPointerException when sending a
client request which is being completed or cancelled
-- don't drop stored data in extract-to-container-cache until we have had a
chance to send it on to the client, minor refactoring to support this, and make
fetching sub-metadata's work when extracting an implicit container.
- make location optional in noderefs. 1052 will remove it completely in favour
of FNPLocChangeNotification.
- read node-<port>.bak from nodeDir, not from current working directory ! =>
fix a bug causing losing the node cryptographic identity when we have to read
it from the .bak due to e.g. out of disk space, if cwd != nodeDir
- load stats fixes:
-- actually collect load stats in RequestHandler (bugs in refactoring in 14087
broke it). these are the average byte counts for different types of requests.
-- minor sync fix
-- apply fudge factor to input bandwidth limit as well as output
-- successfulChkFetchBytesReceivedAverage: we were reporting the wrong variable
in RequestHandler completion
-- improve the defaults for the bytes sent/received averages to reflect path
folding, and successful* defaults should be no less than remote* defaults
-- simplify bandwidth liability calculation: add one to each request type's
count, instead of adding 1 to all those other than the req type we are
considering and then adding that to the total - identical behaviour, we only
accept an SSK if we could have accepted a CHK
- minor updater stuff:
-- slightly better temp filenames
- fcp:
-- include Global on more messages (mostly it should have been but wasn't)
-- when shutting down while reading messages from the client, send a shutdown
message to the client, and close the connection
- l10n:
-- minor french update
-- **always** send UTF-8 content type headers when sending generated HTML or
text from fproxy. related fproxy refactoring.
-- update the menu immediately on changing language by registering un-l10n'ed
strings and looking them up at display time
- new option alwaysAllowLocalAddresses (esp useful on opennet on a lan)
- try to recover from throwables in storing to datastore
- handle the impossible shutdown NPE a bit better
- refactoring:
-- move distance() from PeerManager to Location
-- use double's instead of Location's for locations
-- synchronization/encapsulation on LocationManager.loc*
-- clarify crypto code slightly (make Rijndael_* package-local and delete
makeKey which assumes a 128-bit key). no functional change.
-- HTMLNode: remove unused addAttribute(String), make attributes private
- logging, comments, indenting
Related:
- lots of work on Echo
- some work on JFK
Notes:
- node.passOpennetPeersThroughDarknet is on by default. if you tested an early
trunk build, it had a bug that set it to off. please turn it back on unless you
have a paranoid reason for not enabling it.
Credits:
toad
nextgens
zothar
juiceman
sback
jflesch
fred
kryptos
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2007-08-09 16:29:03 UTC (rev
14565)
+++ trunk/freenet/src/freenet/node/Version.java 2007-08-09 18:13:39 UTC (rev
14566)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1050;
+ private static final int buildNumber = 1051;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1048;
- private static final int newLastGoodBuild = 1049;
+ private static final int oldLastGoodBuild = 1049;
+ private static final int newLastGoodBuild = 1051;
static final long transitionTime;
static {
final Calendar _cal =
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
// year, month - 1 (or constant), day, hour, minute, second
- _cal.set( 2007, Calendar.JULY, 31, 0, 0, 0 );
+ _cal.set( 2007, Calendar.AUGUST, 14, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}