forked from I2P_Developers/i2p.i2p
NetDB: Ensure blind data is rewritten after updating expiration
This commit is contained in:
13
history.txt
13
history.txt
@@ -1,3 +1,16 @@
|
||||
2021-02-06 zzz
|
||||
* Proxy: Update default jump servers
|
||||
* NetDB:
|
||||
- Ensure RI is published after netdb is initialized
|
||||
- Only rewrite blind cache at shutdown if changed
|
||||
* NTCP: Don't publish saved local address when hidden
|
||||
|
||||
2021-02-05 zzz
|
||||
* GeoIP update
|
||||
|
||||
2021-02-03 zzz
|
||||
* Tunnels: Peer selection changes
|
||||
|
||||
2021-01-31 zzz
|
||||
* Router:
|
||||
- Update list of hidden mode countries
|
||||
|
||||
@@ -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 = 16;
|
||||
public final static long BUILD = 17;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "-rc";
|
||||
|
||||
@@ -886,6 +886,8 @@ class ClientMessageEventListener implements I2CPMessageReader.I2CPMessageEventLi
|
||||
long nexp = bd.getExpiration();
|
||||
if (nexp > oexp) {
|
||||
obd.setExpiration(nexp);
|
||||
// to force save at shutdown
|
||||
_context.netDb().setBlindData(obd);
|
||||
if (_log.shouldWarn())
|
||||
_log.warn("Updated expiration: " + obd);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user