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 |
Nick Mathewson
|
d3b9b5a3dd
Remove windows log_from_handle as unused.
|
6 years ago |
Nick Mathewson
|
f0887e30dd
Merge branch 'maint-0.3.3'
|
6 years ago |
Nick Mathewson
|
46795a7be6
Attempt to fix 32-bit clang builds, which broke with 31508a0abccfee1cd
|
6 years ago |
Nick Mathewson
|
467c882baa
Merge branch 'maint-0.3.3'
|
6 years ago |
Nick Mathewson
|
4aaa4215e7
Attempt to fix 32-bit builds, which broke with 31508a0abccfee1cd
|
6 years ago |
Nick Mathewson
|
037fb0c804
Merge branch 'maint-0.3.3'
|
6 years ago |
Alexander Færøy
|
31508a0abc
Use less memory for MaxMemInQueues for machines with more than 8 GB of RAM.
|
6 years ago |
Alexander Færøy
|
5633a63379
Use STATIC for compute_real_max_mem_in_queues
|
6 years ago |
Alexander Færøy
|
bd42367a1e
Make get_total_system_memory mockable.
|
6 years ago |