I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit e669110c authored by jrandom's avatar jrandom Committed by zzz
Browse files

be sure to allow for clock skew

parent f4cf31c1
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,8 @@ public class HandleTunnelMessageJob extends JobImpl {
msg.setMessageExpiration(_message.getMessageExpiration());
int timeoutMs = (int)(_message.getMessageExpiration().getTime() - getContext().clock().now());
timeoutMs += Router.CLOCK_FUDGE_FACTOR;
if (timeoutMs < 1000) {
if (_log.shouldLog(Log.ERROR))
_log.error("Message " + _message.getUniqueId() + " is valid and we would pass it on through tunnel "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment