Andrea Shepard
|
cf994f7ad7
Add changes file for bug6816
|
12 years ago |
Andrea Shepard
|
5543c5b202
Fix formatting in various places after 6465/6816 work
|
12 years ago |
Andrea Shepard
|
217352c362
Make channel_flush_some_cells() compile cleanly on machines with ssize_t larger than int per sjumrdoch comment
|
12 years ago |
Andrea Shepard
|
bec776480d
Don't remove circuitmux hash table entries in circuitmux_detach_circuit() until after circuitmux_make_circuit_inactive()
|
12 years ago |
Andrea Shepard
|
1bc9a040f7
Fix 'warning: circuit was already inactive' and assert in circuitmux_make_circuit_inactive() during circuitmux_detach_all_circuits()
|
12 years ago |
Andrea Shepard
|
c9e48ded5d
Bring summary comment block in circuitmux.c up to date
|
12 years ago |
Andrea Shepard
|
49d534e524
New and improved circuitmux_detach_all_circuits(), now without the stupid
|
12 years ago |
Andrea Shepard
|
c9607694c9
Correctly set magic numbers on ewma policy data/circuit data when allocating
|
12 years ago |
Andrea Shepard
|
9d615cc5c0
Set circuitmux policy on existing active channels when ewma_enabled changes
|
12 years ago |
Andrea Shepard
|
bb62281ba4
Set circuitmux policy on new channels in channeltls.c
|
12 years ago |
Andrea Shepard
|
0c4f717b3e
Implement cell_ewma_enabled()
|
12 years ago |
Andrea Shepard
|
8afe41b481
Implement channel_set_cmux_policy_everywhere()
|
12 years ago |
Andrea Shepard
|
13972aee78
Fix broken circuitmux_move_active_circ_to_tail(); don't assume n_chan is not NULL in circuitmux_detach_circuit()
|
12 years ago |
Andrea Shepard
|
903cc8acd1
Allow n_chan to be NULL in circuitmux_find_map_entry(); it can be but with non-NULL p_chan when extending a circuit
|
12 years ago |
Andrea Shepard
|
a0200c1f6e
Use circuit_get_by_circid_channel_even_if_marked() and fix some asserts in circuitmux.c
|
12 years ago |
Andrea Shepard
|
1498a6e84a
Fix some circuitmux-related asserts in relay.c
|
12 years ago |
Andrea Shepard
|
b28119e6a8
Fix detach when setting circuit ID to 0 bug in circuit_set_circid_chan_helper() and add circuit_get_by_circid_channel_even_if_marked()
|
12 years ago |
Andrea Shepard
|
c097fb33fc
Detach circuits from circuitmux early when freeing channel so they can find the channel by ID
|
12 years ago |
Andrea Shepard
|
3d092ffbdd
Handle closing circuits correctly with circuitmux_t
|
12 years ago |
Andrea Shepard
|
6830c9c232
Add a bunch of paranoid-mode expensive asserts incircuitmux.c
|
12 years ago |
Andrea Shepard
|
7598e669e8
Adjust the circuitmux_t counter correctly in circuitmux_notify_xmit_cells()
|
12 years ago |
Andrea Shepard
|
96a6eff8fe
Fix circuitmux attach/detach logic in circuit_set_circid_chan_helper(); it's possible for id to be zero (not assigned yet) and shouldn't be attached then
|
12 years ago |
Andrea Shepard
|
60ec46a2ec
Update circuitmux-related TODOs in channeltls.c
|
12 years ago |
Andrea Shepard
|
2565710fd7
Fix comment on circuit_t.n_hop and remove circuitmux TODO in or.h
|
12 years ago |
Andrea Shepard
|
bbb2c31d26
Move all EWMA code into circuitmux.c and implement circuitmux_policy_t methods using it
|
12 years ago |
Andrea Shepard
|
0af2eab9a2
Add circuitmux.h, circuitmux_ewma.h includes now necessary in networkstatus.c
|
12 years ago |
Andrea Shepard
|
d194b8602a
Remove cell_ewma_t from or.h and from circuit_t/or_circuit_t; all that goes to the new circuitmux_ewma.c now
|
12 years ago |
Andrea Shepard
|
5f9d37e74e
Add circuitmux.h, circuitmux_ewma.h includes now necessary in config.c
|
12 years ago |
Andrea Shepard
|
14fe0d5859
Remove EWMA code from relay.{c,h}; it goes to a circuitmux policy now
|
12 years ago |
Andrea Shepard
|
b7d5784c54
Remove ewma setup code in init_circuit_base()/or_circuit_new() of circuitlist.c; it gets allocated when the circuit is attached to a circuitmux_t with that policy now
|
12 years ago |