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

Skip to content
Snippets Groups Projects
Commit 387587b0 authored by zzz's avatar zzz
Browse files

* Throttle: Change reject to BANDWIDTH from CRIT on shutdown

      for improved anonymity
parent 43e95a70
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,8 @@ class RouterThrottleImpl implements RouterThrottle { ...@@ -87,7 +87,8 @@ class RouterThrottleImpl implements RouterThrottle {
if (_log.shouldLog(Log.WARN)) if (_log.shouldLog(Log.WARN))
_log.warn("Refusing tunnel request since we are shutting down ASAP"); _log.warn("Refusing tunnel request since we are shutting down ASAP");
setTunnelStatus("Rejecting tunnels: Shutting down"); setTunnelStatus("Rejecting tunnels: Shutting down");
return TunnelHistory.TUNNEL_REJECT_CRIT; // Don't use CRIT because this tells everybody we are shutting down
return TunnelHistory.TUNNEL_REJECT_BANDWIDTH;
} }
// Don't use CRIT because we don't want peers to think we're failing // Don't use CRIT because we don't want peers to think we're failing
......
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