Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | Consistently allow policy alloc_cmux_data() and alloc_circ_data() functions ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | to return NULL if the policy does not use this in circuitmux.c | |||
| * | Implement circuitmux_clear_policy(), circuitmux_get_policy() and ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | circuitmux_set_policy() in circuitmux.c | |||
| * | Add cmux policy notify_set_n_cells() and notify_xmit_cells() callbacks | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Allocate and free circuit-specific policy data in the right places | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Implement circuitmux policy basic notifications mechanism | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Eliminate linked list helper functions in relay.c which are no longer used | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Implement circuitmux_make_circuit_inactive(), ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | circuitmux_make_circuit_active() and linked list helper functions in circuitmux.c | |||
| * | Implement circuitmux_detach_all_circuits() in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Implement circuitmux_is_circuit_active(), ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | circuitmux_num_cells_for_circuit(), circuitmux_num_cells(), circuitmux_num_active_circuits() and circuitmux_num_circuits() in circuitmux.c | |||
| * | Implement circuitmux_clear_num_cells() and circuitmux_set_num_cells() in ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | circuitmux.c, remove unneeded circuitmux_add_to_num_cells() from circuitmux.h | |||
| * | Handle n_mux/p_mux properly in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Implement circuitmux_detach_circuit() in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Implement circuitmux_attached_circuit_direction(), ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | circuitmux_find_map_entry() and circuitmux_is_circuit_attached() in circuitmux.c | |||
| * | Implement circuitmux_attach_circuit() in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Implement circuitmux_alloc()/circuitmux_free() and chanid/circid->muxinfo ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | hash table | |||
| * | Use circuitmux_t in channels and when relaying cells | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Add circuitmux.c, circuitmux.h | Andrea Shepard | 2012-10-10 | |
| | | ||||
| * | Add magic number for type-checking channel casts | Andrea Shepard | 2012-10-09 | |
| | | ||||
| * | Improve comments on channel_write_*() | Andrea Shepard | 2012-10-09 | |
| | | ||||
| * | Use cell_queue_entry_new/free() functions in channel.c | Andrea Shepard | 2012-10-09 | |
| | | ||||
| * | Set reason_for_closing when erroring out of channel_tls_connect() | Andrea Shepard | 2012-10-09 | |
| | | ||||
| * | Split channel_t into channel_t and channel_listener_t; get rid of that big union | Andrea Shepard | 2012-10-09 | |
| | | ||||
| * | Conform to existing Doxygen style | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Refactor ↵ | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | channel_write_cell()/channel_write_packed_cell()/channel_write_var_cell() to eliminate redundant code | |||
| * | Use typedefs for function pointer return values and s/listener/listener_fn/ ↵ | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | for distinctness | |||
| * | s/cell_queue/incoming_queue/g in channel.c for consistency with outgoing_queue | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Fix typo in comment | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | s/channel_request_close()/channel_mark_for_close()/g for consistency | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Make channel_force_free() static | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Simplify channel_next_with_digest() in channel.c | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Eliminate unnecessary channel_set_cell_handler(), ↵ | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | channel_set_var_cell_handler() in channel.c | |||
| * | Eliminate unnecessary SMARTLIST_DEL_CURRENT() invocations in channel.c, ↵ | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | channeltls.c | |||
| * | Remove orphaned comment in channel_flush_some_cells_from_outgoing_queue() | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Simplify channel_find_by_remote_digest() | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Abolish superfluous channel_find_by_remote_nickname() | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | channel_free() should be a no-op | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Use U64_FORMAT/U64_PRINTF_ARG rather than %lu for channel_t | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Check return value from connection_or_connect() in channel_tls_connect() | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | | | | | It's possible for connection_or_connect() to fail and return NULL after it sets tlschan->conn, so not checking leaves a channel hanging around in CHANNEL_STATE_OPENING with a pointer to a freed or_connection_t forever. | |||
| * | Keep better statistics about channels and dump them from dumpstats() on SIGUSR1 | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Call channel_tls_free_all() and channel_free_all() from tor_free_all in main.c | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Call connection_or_close_normally() rather than using ↵ | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | connection_mark_for_close()/connection_mark_and_flush() in run_connection_housekeeping() of main.c so that channels get sent to the CLOSING state correctly (avoids an assert otherwise) | |||
| * | Call channel_run_cleanup() in main.c, and include a comment explaining how ↵ | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | closing or_connections related to channels | |||
| * | Add LD_CHANNEL log domain in log.c | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Use channel_is_bad_for_new_circs(), connection_or_get_num_circs() in main.c | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Use connection_or_get_num_circuits() in control.c | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Convert rendmid.c to channel_t | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Use dirreq_id from channel_t when appropriate | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Switch onion.c over to channel_t | Andrea Shepard | 2012-10-08 | |
| | | ||||
| * | Use channel_t in cpuworker.c | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | | | | | | | Note: this is a squashed commit; see branch bug6465_rebased_v2 of user/andrea/tor.git for full history of the following 2 commits: Use channel_t in cpuworker.c Fix bug in channel_t usage in cpuworker.c that was killing relaying on channel_t-ized Tor. The tags passed to the worker now have a channel ID, not a connection ID. | |||
| * | Query circuit count from associated channel of or_conn in control.c | Andrea Shepard | 2012-10-08 | |
| | |