forked from I2P_Developers/i2p.i2p
2005-01-09 jrandom
* Bugfix for a rare SSU error (thanks cervantes!) * More progress on the blog interface, allowing customizable blog-wide links.
This commit is contained in:
@@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
||||
*
|
||||
*/
|
||||
public class RouterVersion {
|
||||
public final static String ID = "$Revision: 1.324 $ $Date: 2006/01/01 12:23:29 $";
|
||||
public final static String ID = "$Revision: 1.325 $ $Date: 2006/01/04 21:48:17 $";
|
||||
public final static String VERSION = "0.6.1.8";
|
||||
public final static long BUILD = 8;
|
||||
public final static long BUILD = 9;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||
System.out.println("Router ID: " + RouterVersion.ID);
|
||||
|
@@ -473,6 +473,7 @@ public class OutboundMessageFragments {
|
||||
|
||||
// ok, simplest possible thing is to always tack on the bitfields if
|
||||
List msgIds = peer.getCurrentFullACKs();
|
||||
if (msgIds == null) msgIds = new ArrayList();
|
||||
List partialACKBitfields = new ArrayList();
|
||||
peer.fetchPartialACKs(partialACKBitfields);
|
||||
int piggybackedPartialACK = partialACKBitfields.size();
|
||||
@@ -482,6 +483,10 @@ public class OutboundMessageFragments {
|
||||
for (int i = 0; i < fragments; i++) {
|
||||
if (state.needsSending(i)) {
|
||||
rv[i] = _builder.buildPacket(state, i, peer, remaining, partialACKBitfields);
|
||||
if (rv[i] == null) {
|
||||
sparseCount++;
|
||||
continue;
|
||||
}
|
||||
rv[i].setFragmentCount(fragments);
|
||||
OutNetMessage msg = state.getMessage();
|
||||
if (msg != null)
|
||||
|
Reference in New Issue
Block a user