2005-12-30 jrandom
* Small streaming lib bugfixes for the modified timeouts * Minor Syndie/Sucker RSS html fix * Small synchronization fix in I2PSnark (thanks fsm!)
This commit is contained in:
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
||||
*
|
||||
*/
|
||||
public class RouterVersion {
|
||||
public final static String ID = "$Revision: 1.319 $ $Date: 2005/12/27 08:20:54 $";
|
||||
public final static String ID = "$Revision: 1.320 $ $Date: 2005/12/29 08:07:24 $";
|
||||
public final static String VERSION = "0.6.1.8";
|
||||
public final static long BUILD = 3;
|
||||
public final static long BUILD = 4;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||
System.out.println("Router ID: " + RouterVersion.ID);
|
||||
|
@ -53,7 +53,7 @@ public class InboundMessageState {
|
||||
public boolean receiveFragment(UDPPacketReader.DataReader data, int dataFragment) {
|
||||
int fragmentNum = data.readMessageFragmentNum(dataFragment);
|
||||
if ( (fragmentNum < 0) || (fragmentNum > _fragments.length)) {
|
||||
_log.error("Invalid fragment " + fragmentNum + "/" + _fragments.length);
|
||||
_log.warn("Invalid fragment " + fragmentNum + "/" + _fragments.length);
|
||||
return false;
|
||||
}
|
||||
if (_fragments[fragmentNum] == null) {
|
||||
@ -73,7 +73,7 @@ public class InboundMessageState {
|
||||
+ ", isLast=" + isLast
|
||||
+ ", data=" + Base64.encode(message.getData(), 0, size));
|
||||
} catch (ArrayIndexOutOfBoundsException aioobe) {
|
||||
_log.error("Corrupt SSU fragment " + fragmentNum, aioobe);
|
||||
_log.warn("Corrupt SSU fragment " + fragmentNum, aioobe);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user