forked from I2P_Developers/i2p.i2p
Prevent UDP startup NPE http://zzz.i2p/topics/571
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
- Fix http://i2p/b64/ and /eepproxy/site/ requests
|
||||
- Disallow a port specified for an i2p address
|
||||
- Cleanup and comments
|
||||
- For more info see http://zzz.i2p/topics/566
|
||||
* i2psnark:
|
||||
- Fix NPE after create file failure
|
||||
- Sanitize more characters in file names
|
||||
@ -21,6 +22,7 @@
|
||||
- Don't instantiate and start TWPMQ Cleaner and OutboundRefiller
|
||||
threads, part of priority queues unused since 0.6.1.11
|
||||
- Don't instantiate and start UDPFlooder, it is for testing only
|
||||
- Prevent NPE http://zzz.i2p/topics/571
|
||||
|
||||
2010-02-23 zzz
|
||||
* Unzip: Any files in the zip with a .jar.pack or .war.pack extension
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 6;
|
||||
public final static long BUILD = 7;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
@ -1264,6 +1264,8 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
options.setProperty(UDPAddress.PROP_CAPACITY, ""+UDPAddress.CAPACITY_TESTING + UDPAddress.CAPACITY_INTRODUCER);
|
||||
|
||||
if (directIncluded || introducersIncluded) {
|
||||
// This is called via TransportManager.configTransports() before startup(), prevent NPE
|
||||
if (_introKey != null)
|
||||
options.setProperty(UDPAddress.PROP_INTRO_KEY, _introKey.toBase64());
|
||||
|
||||
RouterAddress addr = new RouterAddress();
|
||||
|
Reference in New Issue
Block a user