diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-26 10:18:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-26 11:50:58 -0400 |
commit | 5e395ba2c2bf041cacf85e6ad38cb39ea8ae7419 (patch) | |
tree | 3d7367d35fe171fe3e7732bad47d3e7ce7704446 /src/test/test_channel.c | |
parent | 33cba1195bb33c7551f89cdf88e11b7a8787ce68 (diff) | |
download | tor-5e395ba2c2bf041cacf85e6ad38cb39ea8ae7419.tar.gz tor-5e395ba2c2bf041cacf85e6ad38cb39ea8ae7419.zip |
Rewrite time-handling in circuitmux_ewma to use monotime_coarse
This part of the code was the only part that used "cached
getttimeofday" feature, which wasn't monotonic, which we updated at
slight expense, and which I'd rather not maintain.
Diffstat (limited to 'src/test/test_channel.c')
-rw-r--r-- | src/test/test_channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_channel.c b/src/test/test_channel.c index 812ec6c1ac..7d5018ef5b 100644 --- a/src/test/test_channel.c +++ b/src/test/test_channel.c @@ -544,6 +544,8 @@ test_channel_outbound_cell(void *arg) (void) arg; + cmux_ewma_set_options(NULL,NULL); + /* The channel will be freed so we need to hijack this so the scheduler * doesn't get confused. */ MOCK(scheduler_release_channel, scheduler_release_channel_mock); |