aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2013-01-30 21:27:38 -0400
committerNick Mathewson <nickm@torproject.org>2013-02-01 17:01:16 -0500
commitbce6714f99df6fd00c90918ac0a7407bf1f764e3 (patch)
treeb879f615aeb6e4d5f8583bba3afc49026f75463e /src/or/or.h
parent3a63e5ef4237464d6f499b271414ee4071856fe8 (diff)
downloadtor-bce6714f99df6fd00c90918ac0a7407bf1f764e3.tar
tor-bce6714f99df6fd00c90918ac0a7407bf1f764e3.tar.gz
Refactor code that rolls back the use state
Also document it better. Mention this refactoring in the comments for the path state machine.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index e5fc06ac3..11158ff6f 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2862,7 +2862,8 @@ typedef enum {
* this circuit?
*
* If any streams detatch/fail from this circuit, the code transitions
- * the circuit back to PATH_STATE_USE_ATTEMPTED to ensure we probe.
+ * the circuit back to PATH_STATE_USE_ATTEMPTED to ensure we probe. See
+ * pathbias_mark_use_rollback() for that.
*/
PATH_STATE_USE_SUCCEEDED = 4,