diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-11 12:52:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-11 12:52:21 -0400 |
commit | 0888c2f8f55037b49fead49091013f2cc7de17c5 (patch) | |
tree | 7834a9e5a8362e65d66265b81c970271fe28a0d7 /src/or/rephist.h | |
parent | e0655708a20069a5f42476a25d62e9d3f8138d8c (diff) | |
download | tor-0888c2f8f55037b49fead49091013f2cc7de17c5.tar.gz tor-0888c2f8f55037b49fead49091013f2cc7de17c5.zip |
When no usable exit satisfies a predicted port, stop predicting it.
Fix for bug 3296.
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r-- | src/or/rephist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h index 0a3e46ae1a..800b957d5a 100644 --- a/src/or/rephist.h +++ b/src/or/rephist.h @@ -49,6 +49,7 @@ const char *rep_hist_get_router_stability_doc(time_t now); void rep_hist_note_used_port(time_t now, uint16_t port); smartlist_t *rep_hist_get_predicted_ports(time_t now); +void rep_hist_remove_predicted_ports(const smartlist_t *rmv_ports); void rep_hist_note_used_resolve(time_t now); void rep_hist_note_used_internal(time_t now, int need_uptime, int need_capacity); |