David Goulet
|
05d314f888
main: Add mainloop callback event flags
|
6 years ago |
Nick Mathewson
|
302908657f
Fix a test assertion failure due to uninitialized mainloop events
|
6 years ago |
Nick Mathewson
|
857e210b7d
Merge branch 'ticket25931'
|
6 years ago |
Nick Mathewson
|
96c5ac338a
Move close-and-cleanup functions to a postloop event.
|
6 years ago |
Nick Mathewson
|
8a81a70878
Move consdiffmgr_rescan() into a mainloop event.
|
6 years ago |
Nick Mathewson
|
9be7608fda
Merge branch 'maint-0.3.3'
|
6 years ago |
Nick Mathewson
|
6182f60f75
Merge branch 'maint-0.3.2' into maint-0.3.3
|
6 years ago |
Nick Mathewson
|
d2951b381b
Merge branch 'maint-0.3.1' into maint-0.3.2
|
6 years ago |
Nick Mathewson
|
192c7c8bf9
Merge remote-tracking branch 'dgoulet/ticket25762_034_05'
|
6 years ago |
David Goulet
|
665e23c59a
test: Add periodic events unit tests
|
6 years ago |
David Goulet
|
87cb9ce900
main: Update periodic events comment based on latest code
|
6 years ago |
Nick Mathewson
|
f70fa67da6
main: Use rescan_periodic_events in initialize_periodic_events_cb
|
6 years ago |
David Goulet
|
4e85f17eec
periodic: Add an enable and disable function
|
6 years ago |
David Goulet
|
1d864987cb
config: Set up periodic events when options changes
|
6 years ago |
David Goulet
|
a4fcdc5dec
main: Launch periodic events by roles
|
6 years ago |
David Goulet
|
ed89bb3253
main: Specialize the periodic events on a per-role basis
|
6 years ago |
David Goulet
|
269cd5dba7
main: Sort alphabetically periodic event callbacks
|
6 years ago |
Nick Mathewson
|
47df912f1c
Remove the periodic refill event entirely.
|
6 years ago |
Nick Mathewson
|
780d1b44cf
Move responsibility for recording read/written bytes
|
6 years ago |
Nick Mathewson
|
1356d51af6
Rename connection_bucket_refill to connection_bucket_refill_all
|
6 years ago |
Nick Mathewson
|
488e2b00bf
Refactor the "block the connection on bandwidth" logic
|
6 years ago |
Nick Mathewson
|
34c2574aa9
Merge branch 'token_bucket_once_again_squashed'
|
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
|
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
|
12f58f2f87
Remove a bunch of int casts; make clang happier.
|
6 years ago |
Nick Mathewson
|
a38fd9bc5b
Replace the global buckets with token_bucket_t
|
6 years ago |