Nick Mathewson
|
2307bef7a2
Move token_bucket_raw_* functions to the start of the module.
|
6 years ago |
Nick Mathewson
|
9c405ba595
Never pick a rate of 0.
|
6 years ago |
Nick Mathewson
|
0b40ed5e70
Start re-refactoring the token bucket interface.
|
6 years ago |
Nick Mathewson
|
f2c81a8eac
Merge branch 'maint-0.3.3'
|
6 years ago |
Nick Mathewson
|
4d8de6c6be
Merge remote-tracking branch 'dgoulet/ticket25248_033_02' into maint-0.3.3
|
6 years ago |
Nick Mathewson
|
c9de30c590
Merge branch 'maint-0.3.3'
|
6 years ago |
Mike Perry
|
21b347e291
doc: Fix typo and clarify that DoS options are relay only
|
6 years ago |
David Goulet
|
712a7d76a0
doc: Move DOS options below SERVER options
|
6 years ago |
David Goulet
|
119b053a8a
doc: Improve DoS section of the man page tor.1
|
6 years ago |
Nick Mathewson
|
61d87dfa15
Merge branch 'postloop_callbacks_2'
|
6 years ago |
Nick Mathewson
|
4c03af4880
Remove tell_event_loop_to_run_external_code() per review
|
6 years ago |
Nick Mathewson
|
03b96882de
Rename token_bucket_t to token_bucket_rw_t.
|
6 years ago |
Nick Mathewson
|
b152d62cee
Merge branch 'token_bucket_refactor_squashed'
|
6 years ago |
Nick Mathewson
|
2fe499eb3f
Changes files for post-loop events (25374)
|
6 years ago |
Nick Mathewson
|
62f4d5a265
Add a unit test for post-loop events
|
6 years ago |
Nick Mathewson
|
320bd2b3a5
Move connection_ap_attach_pending(0) into a postloop event
|
6 years ago |
Nick Mathewson
|
5719dfb48f
Move the "activate linked connections" logic to a postloop event.
|
6 years ago |
Nick Mathewson
|
c5a3e2ca44
Generic mechaism for "post-loop" callbacks
|
6 years ago |
Nick Mathewson
|
ad57b1279a
Disable load_geoip_file() tests on windows
|
6 years ago |
Nick Mathewson
|
787bafc0f9
Increase tolerances for imprecise time.
|
6 years ago |
Nick Mathewson
|
3f514fe3b1
Accept small hops backward in the monotonic timer.
|
6 years ago |
Nick Mathewson
|
c63761a0a6
changes file for token_bucket refactoring
|
6 years ago |
Nick Mathewson
|
12f58f2f87
Remove a bunch of int casts; make clang happier.
|
6 years ago |
Nick Mathewson
|
6be994fa71
Ensure that global buckets are updated on configuration change
|
6 years ago |
Nick Mathewson
|
a38fd9bc5b
Replace the global buckets with token_bucket_t
|
6 years ago |
Nick Mathewson
|
9fced56ef1
Refactor or_connection token buckets to use token_bucket_t
|
6 years ago |
Nick Mathewson
|
8a85239746
Add a helper function to decrement read and write at the same time
|
6 years ago |
Nick Mathewson
|
c376200f6a
Add a new token-bucket backend abstraction, with tests
|
6 years ago |
Nick Mathewson
|
d8ef9a2d1e
Expose a function that computes stamp units from msec.
|
6 years ago |
Nick Mathewson
|
2d6914e391
Refine extend_info_for_node's "enough info" check once again.
|
6 years ago |