diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-06-10 13:35:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-06-14 11:00:44 -0400 |
commit | 8f3e3279c198dd13c11ffd739ddf08dbe8b07762 (patch) | |
tree | cb013d3fe1b324718adc9a8ec75fc920c83fca07 /src/or/circuitlist.h | |
parent | 173a1afc5819f1fcabfa34bab5714d61088cc29f (diff) | |
download | tor-8f3e3279c198dd13c11ffd739ddf08dbe8b07762.tar.gz tor-8f3e3279c198dd13c11ffd739ddf08dbe8b07762.zip |
Try to diagnose bug 12184
Check for consistency between the queued destroy cells and the marked
circuit IDs. Check for consistency in the count of queued destroy
cells in several ways. Check to see whether any of the marked circuit
IDs have somehow been marked longer than the channel has existed.
Diffstat (limited to 'src/or/circuitlist.h')
-rw-r--r-- | src/or/circuitlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitlist.h b/src/or/circuitlist.h index 916afba215..d48d7c3963 100644 --- a/src/or/circuitlist.h +++ b/src/or/circuitlist.h @@ -28,6 +28,8 @@ void circuit_set_n_circid_chan(circuit_t *circ, circid_t id, channel_t *chan); void channel_mark_circid_unusable(channel_t *chan, circid_t id); void channel_mark_circid_usable(channel_t *chan, circid_t id); +time_t circuit_id_when_marked_unusable_on_channel(circid_t circ_id, + channel_t *chan); void circuit_set_state(circuit_t *circ, uint8_t state); void circuit_close_all_marked(void); int32_t circuit_initial_package_window(void); |