mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
avoid thrashing the bandwidth exercise when we change IPs a lot.
(we avoid simply by not doing any new tests when we change IPs -- it looks like we retain our previous bandwidth estimates, so there's no need to do new exercise. though in some cases new exercises may still be useful. one day we'll do something smarter.) svn:r8402
This commit is contained in:
parent
eb941420fc
commit
a51ec44466
3
doc/TODO
3
doc/TODO
@ -18,7 +18,8 @@ P - phobos claims
|
||||
by default, if it works?"
|
||||
|
||||
Items for 0.1.2.x, real soon now:
|
||||
R - avoid thrashing the bandwidth exercise when we change IPs a lot
|
||||
R o avoid thrashing the bandwidth exercise when we change IPs a lot
|
||||
(we avoid simply by not doing any new tests when we change IPs.)
|
||||
- When we've been idle a long time, we stop fetching server
|
||||
descriptors. When we then get a socks request, we build circuits
|
||||
immediately using whatever descriptors we have, rather than waiting
|
||||
|
@ -490,7 +490,7 @@ server_has_changed_ip(void)
|
||||
stats_n_seconds_working = 0;
|
||||
can_reach_or_port = 0;
|
||||
can_reach_dir_port = 0;
|
||||
reset_bandwidth_test();
|
||||
// reset_bandwidth_test();
|
||||
mark_my_descriptor_dirty();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user