forked from I2P_Developers/i2p.i2p
* NetDB: Fix NPE after client shutdown (ticket #1174)
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2014-01-25 zzz
|
||||
* i2psnark: Lower threshold for auto-stop
|
||||
* Installer: Update links
|
||||
* NetDB: Fix NPE after client shutdown (ticket #1174)
|
||||
* Router: Lower frequency for publishing stats
|
||||
* Update: All updates via torrent
|
||||
|
||||
2014-01-25 zab
|
||||
* Move OutNetMessage buffer preparation to the Writer threads
|
||||
(Ticket #1184)
|
||||
|
||||
@@ -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 = 1;
|
||||
public final static long BUILD = 2;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
||||
@@ -313,9 +313,11 @@ class IterativeSearchJob extends FloodSearchJob {
|
||||
sess = MessageWrapper.generateSession(getContext(), _fromLocalDest);
|
||||
else
|
||||
sess = MessageWrapper.generateSession(getContext());
|
||||
if (_log.shouldLog(Log.INFO))
|
||||
_log.info(getJobId() + ": Requesting encrypted reply from " + peer + ' ' + sess.key + ' ' + sess.tag);
|
||||
dlm.setReplySession(sess.key, sess.tag);
|
||||
if (sess != null) {
|
||||
if (_log.shouldLog(Log.INFO))
|
||||
_log.info(getJobId() + ": Requesting encrypted reply from " + peer + ' ' + sess.key + ' ' + sess.tag);
|
||||
dlm.setReplySession(sess.key, sess.tag);
|
||||
} // else client went away, but send it anyway
|
||||
}
|
||||
outMsg = MessageWrapper.wrap(getContext(), dlm, ri);
|
||||
// ElG can take a while so do a final check before we send it,
|
||||
|
||||
Reference in New Issue
Block a user