summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-10 12:16:21 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-10 12:16:21 -0400
commit16f08de0fd85b9fe8ace9f4905190fa6dc27e4ea (patch)
tree1f93ff4fcd5ab6f9e989cccb49f4c9c3c32aa62d /src/or/or.h
parent395fa0258d56b24e39cd714834ffe0dcb365ea25 (diff)
downloadtor-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/or.h')
-rw-r--r--src/or/or.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 25ad351751..bcce33755d 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1660,13 +1660,6 @@ typedef struct or_connection_t {
* bandwidthburst. (OPEN ORs only) */
int write_bucket; /**< When this hits 0, stop writing. Like read_bucket. */
- /** Last emptied read token bucket in msec since midnight; only used if
- * TB_EMPTY events are enabled. */
- uint32_t read_emptied_time;
- /** Last emptied write token bucket in msec since midnight; only used if
- * TB_EMPTY events are enabled. */
- uint32_t write_emptied_time;
-
/*
* Count the number of bytes flushed out on this orconn, and the number of
* bytes TLS actually sent - used for overhead estimation for scheduling.
@@ -4427,9 +4420,6 @@ typedef struct {
/** Enable CELL_STATS events. Only altered on testing networks. */
int TestingEnableCellStatsEvent;
- /** Enable TB_EMPTY events. Only altered on testing networks. */
- int TestingEnableTbEmptyEvent;
-
/** If true, and we have GeoIP data, and we're a bridge, keep a per-country
* count of how many client addresses have contacted us so that we can help
* the bridge authority guess which countries have blocked access to us. */