Andrea Shepard
|
85ee070852
Make scheduler_release_channel() mockable
|
11 years ago |
Andrea Shepard
|
8907554cf3
Make channel_note_destroy_not_pending() mockable
|
11 years ago |
Andrea Shepard
|
dabf4c33e2
Refactor channel_get_cell_queue_entry_size() to avoid an unreachable line for test coverage, and fix a nasty lurking memory bug in channel_flush_some_cells_from_outgoing_queue()
|
11 years ago |
Andrea Shepard
|
52cfaa84b7
Add changes file for global scheduler/cmux refactor
|
11 years ago |
Andrea Shepard
|
ac1b627e85
Implement scheduler_touch_channel()
|
11 years ago |
Andrea Shepard
|
ed1927d6bf
Use a non-stupid data structure in the scheduler
|
11 years ago |
Andrea Shepard
|
3530825c53
Eliminate some unnecessary smartlists in scheduler.c
|
11 years ago |
Andrea Shepard
|
283646fd90
Fix scheduler assertion in circuitmux/destroy_cell_queue unit test
|
11 years ago |
Andrea Shepard
|
63bb9a795e
Fix compiler warning
|
11 years ago |
Andrea Shepard
|
55907da28d
Sort the scheduler's channel list by cmux comparisons
|
11 years ago |
Andrea Shepard
|
700d6e7525
Add inter-cmux comparison support to circuitmux_ewma.c
|
11 years ago |
Andrea Shepard
|
9db596d2ef
Add cmux support for inter-cmux comparisons
|
11 years ago |
Andrea Shepard
|
1275002a46
Schedule according to a queue size heuristic
|
11 years ago |
Andrea Shepard
|
4f567c8cc8
Let the new scheduler handle writes
|
11 years ago |
Andrea Shepard
|
f314d9509c
Fix return values from channel_flush_some_cells() to correctly count cells directly written by channel_flush_from_first_active_circuit()
|
11 years ago |
Andrea Shepard
|
2fc3da3ff5
Implement global queue size query in channel.c
|
11 years ago |
Andrea Shepard
|
8852a1794c
Track total queue size per channel, with overhead estimates, and global queue total
|
11 years ago |
Andrea Shepard
|
7674308f62
Make 'make check-spaces' not complain about function pointers returning size_t or double
|
11 years ago |
Andrea Shepard
|
5e0a6d54d0
Add global cell/byte counters and per channel byte counters to channel.c
|
11 years ago |
Andrea Shepard
|
f0533d8d22
Remove no-longer-used channel_tls_t functions
|
11 years ago |
Andrea Shepard
|
b09f41424c
Actually call channel_flush_some_cells() from the scheduler
|
11 years ago |
Andrea Shepard
|
2efbab2aaf
Provide generic mechanism for scheduler to query writeable cells on a channel
|
11 years ago |
Nick Mathewson
|
472b62bfe4
Uglify scheduler init logic to avoid crash on startup.
|
11 years ago |
Nick Mathewson
|
85ee5b3095
Use event_active, not 0-length timeouts. It's idempotent, too.
|
11 years ago |
Nick Mathewson
|
fc13184e44
Fix unused-arguments warnings
|
11 years ago |
Nick Mathewson
|
08bea13c35
Temporarily disable scheduler_trigger as unused
|
11 years ago |
Andrea Shepard
|
d438cf1ec9
Implement scheduler mechanism to track lists of channels wanting cells or writes; doesn't actually drive the cell flow from it yet
|
11 years ago |
Nick Mathewson
|
b448ec195d
Clear the cached address from resolve_my_address() when our IP changes
|
10 years ago |
Roger Dingledine
|
e440993f95
continue our habit of specifying the default in the manpage
|
10 years ago |
Nick Mathewson
|
2e607ff519
Merge remote-tracking branch 'origin/maint-0.2.5'
|
10 years ago |