2006-04-19 jrandom

* Adjust how we pick high capacity peers to allow the inclusion of fast
      peers (the previous filter assumed an old usage pattern)
    * New set of stats to help track per-packet-type bandwidth usage better
    * Cut out the proactive tail drop from the SSU transport, for now
    * Reduce the frequency of tunnel build attempts while we're saturated
    * Don't drop tunnel requests as easily - prefer to explicitly reject them
This commit is contained in:
jrandom
2006-04-19 17:46:51 +00:00
committed by zzz
parent 40d5ed31ac
commit 8cba2f4236
17 changed files with 212 additions and 72 deletions

View File

@@ -333,7 +333,7 @@ public abstract class I2NPMessageImpl extends DataStructureImpl implements I2NPM
}
protected void verifyUnwritten() {
if (_written) throw new RuntimeException("Already written");
if (_written) throw new IllegalStateException("Already written");
}
protected void written() { _written = true; }
protected void read() { _read = true; }