diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-25 12:53:00 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-16 11:06:16 -0500 |
commit | 2ea5aa71823f385e36f20e643a20996dcb164464 (patch) | |
tree | 3a1d70c711bdd1fdf0917c2b43bf8c9fb8f3b2a4 /src/or/entrynodes.h | |
parent | e56bc1e5de05d9bc6876d91d364d33f0771eb322 (diff) | |
download | tor-2ea5aa71823f385e36f20e643a20996dcb164464.tar.gz tor-2ea5aa71823f385e36f20e643a20996dcb164464.zip |
Expire circuits that have been WAITING_FOR_BETTER_GUARD too long
(This is required by 3.9 in prop271, but is better done as a
separate function IMO)
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index ec24011377..648e599310 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -337,6 +337,7 @@ int entry_guards_update_all(guard_selection_t *gs); int entry_guards_upgrade_waiting_circuits(guard_selection_t *gs, const smartlist_t *all_circuits, smartlist_t *newly_complete_out); +int entry_guard_state_should_expire(circuit_guard_state_t *guard_state); void entry_guards_note_internet_connectivity(guard_selection_t *gs); /* Used by bridges.c only. */ |