summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-06-12 22:22:21 -0700
committerNick Mathewson <nickm@torproject.org>2013-06-13 10:14:36 -0400
commit16f9861b22751bc90666fe1836b8cf740630447a (patch)
tree52e5b129875e416891003dd6a0ca1f887e6a2ae3 /src/or/relay.c
parent43d53e6d86acaf7555c31730a8230fa0cdf31306 (diff)
downloadtor-16f9861b22751bc90666fe1836b8cf740630447a.tar.gz
tor-16f9861b22751bc90666fe1836b8cf740630447a.zip
Add destroy balance tracking and logging to circuitmux
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index ec860269a6..46bfc442b8 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -2358,6 +2358,8 @@ channel_flush_from_first_active_circuit(channel_t *chan, int max)
tor_assert(destroy_queue->n > 0);
cell = cell_queue_pop(destroy_queue);
channel_write_packed_cell(chan, cell);
+ /* Update the cmux destroy counter */
+ circuitmux_notify_xmit_destroy(cmux);
cell = NULL;
++n_flushed;
continue;