diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-05-01 18:44:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-05-01 18:44:11 -0400 |
commit | 24299d385d38a254eabde531a8f4f7830ecb088d (patch) | |
tree | 67ba536d359d99404804f4680481230fbf910d9f /src/or/hs_ident.c | |
parent | 60fad8d41fc7395bd573a2cd9585ae9cb03febc3 (diff) | |
download | tor-24299d385d38a254eabde531a8f4f7830ecb088d.tar.gz tor-24299d385d38a254eabde531a8f4f7830ecb088d.zip |
Hold monotonic time constant during channel/outbound_cell test
This change should make it impossible for the monotonic time to roll
over from one EWMA tick to the next during this test, and make it so
that this test never invokes scale_active_circuits() (which it
doesn't test).
(Earlier changes during the 0.3.4 series should make this call even
rarer than it was before, since we fixed #25927 and removed
cached_gettimeofday. Because this test didn't update
cached_gettimeofday, the chance of rolling over a 10-second interval
was much higher.)
Closes ticket 25994; bugfix on 0.3.3.1-alpha when this test was
introduced.
Diffstat (limited to 'src/or/hs_ident.c')
0 files changed, 0 insertions, 0 deletions