aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
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/or.h
parentd38030381b04263f76ce7f8ed2d6ceefc4ce363f (diff)
downloadtor-f3b89c114112987b74bb0632cfe47a3a17859adb.tar
tor-f3b89c114112987b74bb0632cfe47a3a17859adb.tar.gz
Add XXX023s for our timestamp_dirty abuse.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 124892ce7..e44c626d7 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2127,8 +2127,14 @@ typedef struct circuit_t {
char *n_conn_onionskin;
time_t timestamp_created; /**< When was this circuit created? */
- time_t timestamp_dirty; /**< When the circuit was first used, or 0 if the
- * circuit is clean. */
+ /** When the circuit was first used, or 0 if the circuit is clean.
+ *
+ * XXXX023 Note that some code will artifically adjust this value backward
+ * in time in order to indicate that a circuit shouldn't be used for new
+ * streams, but that it can stay alive as long as it has streams on it.
+ * That's a kludge we should fix.
+ */
+ time_t timestamp_dirty;
struct timeval highres_created; /**< When exactly was the circuit created? */
uint16_t marked_for_close; /**< Should we close this circuit at the end of