]> git.ipfire.org Git - thirdparty/tor.git/commit
Convert relay.c/relay.h to channel_t
authorAndrea Shepard <andrea@persephoneslair.org>
Sat, 25 Aug 2012 21:30:01 +0000 (14:30 -0700)
committerAndrea Shepard <andrea@torproject.org>
Mon, 8 Oct 2012 10:05:26 +0000 (03:05 -0700)
commite136f7ccb4e671e33b6c92a48df819082291f5c1
tree58dbe2e07da551675233ecde2155f480cc0576bc
parent4768c0efe3e9471cc367c3740d1a4ba0ab79626c
Convert relay.c/relay.h to channel_t

Note: this is a squashed commit; see branch bug6465_rebased_v2 of user/andrea/tor.git for full history of the following 10 commits:

Convert relay.c/relay.h to channel_t
Updating the timestamp if n_flushed > 0 at the end of channel_flush_from_first_active_circuit() was redundant since channel_write_cell() et al. do it themselves.
Get rid of now-unnecessary time parameter in channel_flush_from_first_active_circuit()
Get rid of now-unnecessary time parameter in channel_flush_from_first_active_circuit() in connection_or.c
Add non-inlined external call for channeltls.c to free a packed_cell_t
Appease make check-spaces in relay.c
Replace channel_get_write_queue_len() with sufficient and easier to implement channel_has_queued_writes() in relay.c
Rename channel_touched_by_client() and client_used field for consistency with other timestamps in relay.c
Don't double-free packed cells in relay.c (channel_t Tor now bootstraps and works as a client)
Rearrange channel_t struct to use a union distinguishing listener from cell-bearing channels in relay.c
src/or/connection.c
src/or/relay.c
src/or/relay.h