]> git.ipfire.org Git - thirdparty/tor.git/commit
dos: Make sure cc_stats_refill_bucket can't overflow while calculating
authorteor <teor2345@gmail.com>
Wed, 31 Jan 2018 00:13:17 +0000 (11:13 +1100)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 31 Jan 2018 14:27:59 +0000 (09:27 -0500)
commita09d5f5735abe2e1d16cf0ee9389ae096d5e7ef1
tree8da5a5cd387ec6a86fa2697e74103c849a842f92
parentb45ae1b00237f0209c4ccce777de59581fda5e39
dos: Make sure cc_stats_refill_bucket can't overflow while calculating

Debug log the elapsed time in cc_stats_refill_bucket

Part of #25094.

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/or/dos.c
src/or/dos.h
src/test/test_dos.c