Changeset ec83548


Ignore:
Timestamp:
Jan 25, 2014 3:08:56 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e0a499d
Parents:
f9144f2
Message:
  • NetDB: Fix NPE after client shutdown (ticket #1174)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    rf9144f2 rec83548  
     12014-01-25 zzz
     2 * i2psnark: Lower threshold for auto-stop
     3 * Installer: Update links
     4 * NetDB: Fix NPE after client shutdown (ticket #1174)
     5 * Router: Lower frequency for publishing stats
     6 * Update: All updates via torrent
     7
    182014-01-25 zab
    29 * Move OutNetMessage buffer preparation to the Writer threads
  • router/java/src/net/i2p/router/RouterVersion.java

    rf9144f2 rec83548  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 1;
     21    public final static long BUILD = 2;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/networkdb/kademlia/IterativeSearchJob.java

    rf9144f2 rec83548  
    314314                        else
    315315                            sess = MessageWrapper.generateSession(getContext());
    316                         if (_log.shouldLog(Log.INFO))
    317                             _log.info(getJobId() + ": Requesting encrypted reply from " + peer + ' ' + sess.key + ' ' + sess.tag);
    318                         dlm.setReplySession(sess.key, sess.tag);
     316                        if (sess != null) {
     317                            if (_log.shouldLog(Log.INFO))
     318                                _log.info(getJobId() + ": Requesting encrypted reply from " + peer + ' ' + sess.key + ' ' + sess.tag);
     319                            dlm.setReplySession(sess.key, sess.tag);
     320                        } // else client went away, but send it anyway
    319321                    }
    320322                    outMsg = MessageWrapper.wrap(getContext(), dlm, ri);
Note: See TracChangeset for help on using the changeset viewer.