aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-03-25 17:49:44 -0400
committerNick Mathewson <nickm@torproject.org>2011-03-25 18:32:28 -0400
commitf3b89c114112987b74bb0632cfe47a3a17859adb (patch)
tree54dfe88b2ef908c6b2b9f69252fca4d94e33a609 /src/or/relay.c
parentd38030381b04263f76ce7f8ed2d6ceefc4ce363f (diff)
downloadtor-f3b89c114112987b74bb0632cfe47a3a17859adb.tar.gz
tor-f3b89c114112987b74bb0632cfe47a3a17859adb.zip
Add XXX023s for our timestamp_dirty abuse.
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 076b46b934..807cb3d435 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -791,6 +791,8 @@ connection_ap_process_end_not_open(
< MAX_RESOLVE_FAILURES) {
/* We haven't retried too many times; reattach the connection. */
circuit_log_path(LOG_INFO,LD_APP,circ);
+ /* Mark this circuit "unusable for new streams". */
+ /* XXXX023 this is a kludgy way to do this. */
tor_assert(circ->_base.timestamp_dirty);
circ->_base.timestamp_dirty -= get_options()->MaxCircuitDirtiness;