Author: toad
Date: 2008-12-06 13:14:10 +0000 (Sat, 06 Dec 2008)
New Revision: 24088
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1189: (Mandatory 0:00 Tuesday)
Connection layer:
- New connection setup type 4. Assigns IDs to packet trackers and negotiates in
setup so we only reuse the tracker if both sides know about it. Thus avoids
even more disconnections caused by one side reusing the tracker and the other
side not reusing it.
- Don't send the JFK(4) if completedHandshake fails.
- Fix a bug causing us to fail to connect sometimes to nodes with DNS
addresses. Always call dropHostName() before putting a Peer or
FreenetInetAddress into a HashMap as a key!
- Deal better with resend requests for packets which have already been acked or
where we skipped the packet number. If the packet hasn't been sent yet, just
log an error, otherwise tell the other side that we forgot the packet (which we
did, when it was acked, if we didn't skip the seqno).
- Skipping the sequence number seems to be caused by PacketSequenceExceptions,
which are in turn caused by one side repeatedly asking for a resend, and being
ignored.
- Paranoia: if we can't store the packet contents because they are out of
range, throw an IllegalStateException.
- Send forgotten packet notifications more quickly to get the other side to
shut up.
- Fix ArrayIndexOutOfBoundsException when constructing a packet including
forgotten notifications: We were not taking them into account when determining
the packet length!
- We can lose forgotten notifications in some cases, so pad the packet's actual
size after construction, rather than its nominal size, and avoid sending
under-padded packets when we lose forgotten notifications because they are out
of range. Don't check for inconsistent length when we pad.
- Fix existing logic to not send 256 or more forgotten packet notifications.
This can happen on a notification only packet...
Opennet:
- We were making too few offers, because we were treating processing an
unmatchable packet (trying to match it against old-opennet-peers) as sending an
offer, and therefore not sending another offer for 30 seconds.
- How common this is in practice will vary considerably from node to node...
ARKs: (related to bug #2761)
- Fix nasty bug resulting in ARK URI getting corrupted, having multiple numbers
after "ark".
- On startup, delete all numbers after "ark" to fix old refs. We should have
nothing there, and then create the USK for the ARK, and add the number on for
the edition.
L10n:
- Clarify that support@ is a mailing list.
Dev stuff:
- Move a null check to clarify the code.
- Comments.
- Utility methods for FreenetURI: isSSK, isUSK, isCHK, uskForSSK, and unit
tests.
- Remove blocking allocation of a packet number support. It is not used and
might be dangerous.
- Make TransferThread (used by plugins) implement ClientCallback, add missing
methods.
- Logging.
XMLSpider:
- Solve a couple of i18n problems: use UTF-8 when generating md5, split words
in a way that doesn't assume english characters.
- I don't understand the regex used when splitting words, it may be broken. We
need a real tokenizer, like sdiz says...
XMLLibrarian:
- Update for new charset in generating md5's, and new word splitter.
KeyExplorer:
- Fix wierd pathnames while exploring a container.
p0s
sdiz
toad
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-12-06 12:07:34 UTC (rev
24087)
+++ trunk/freenet/src/freenet/node/Version.java 2008-12-06 13:14:10 UTC (rev
24088)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1188;
+ private static final int buildNumber = 1189;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1186;
- private static final int newLastGoodBuild = 1188;
+ private static final int oldLastGoodBuild = 1188;
+ private static final int newLastGoodBuild = 1189;
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, 6, 0, 0, 0 );
+ _cal.set( 2008, Calendar.DECEMBER, 9, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs