diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-10 12:16:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-10 12:16:21 -0400 |
commit | 16f08de0fd85b9fe8ace9f4905190fa6dc27e4ea (patch) | |
tree | 1f93ff4fcd5ab6f9e989cccb49f4c9c3c32aa62d /src/or/connection.h | |
parent | 395fa0258d56b24e39cd714834ffe0dcb365ea25 (diff) | |
download | tor-16f08de0fd85b9fe8ace9f4905190fa6dc27e4ea.tar.gz tor-16f08de0fd85b9fe8ace9f4905190fa6dc27e4ea.zip |
Remove TestingEnableTbEmptyEvent
This option was used for shadow testing previously, but is no longer
used for anything. It interferes with refactoring our token buckets.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index 6bc5a7cfd0..930e5f81ae 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -272,13 +272,6 @@ void connection_check_oos(int n_socks, int failed); STATIC void connection_free_minimal(connection_t *conn); /* Used only by connection.c and test*.c */ -uint32_t bucket_millis_empty(int tokens_before, uint32_t last_empty_time, - int tokens_after, int milliseconds_elapsed, - const struct timeval *tvnow); -void connection_buckets_note_empty_ts(uint32_t *timestamp_var, - int tokens_before, - size_t tokens_removed, - const struct timeval *tvnow); MOCK_DECL(STATIC int,connection_connect_sockaddr, (connection_t *conn, const struct sockaddr *sa, |