diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-05-29 08:03:41 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-30 12:24:51 -0400 |
commit | 112d204fadab74426cc802e6d998a53f938a5248 (patch) | |
tree | 8a6256ae138c2d1c2a89eb51298cdcef5cc72a88 /src/or/or.h | |
parent | 1f18b5a5d532449f46a9c4b74d188870ea56d813 (diff) | |
download | tor-112d204fadab74426cc802e6d998a53f938a5248.tar.gz tor-112d204fadab74426cc802e6d998a53f938a5248.zip |
Set timestamp_dirty on HS circuits as circuit_expire_building requires
Fixes part of #1297; bugfix on 48e0228f1e031a709c1deb149c7dfd187c3609cf,
when circuit_expire_building was changed to assume that timestamp_dirty
was set when a circuit changed purpose to _C_REND_READY. (It wasn't.)
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 9cac5f3548..6ccd95727c 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2143,6 +2143,11 @@ typedef struct circuit_t { * 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. + * + * XXX023 The CBT code uses this field to record when HS-related + * circuits entered certain states. This usage probably won't + * interfere with this field's primary purpose, but we should + * document it more thoroughly to make sure of that. */ time_t timestamp_dirty; |