diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-17 14:59:19 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-17 14:59:19 +0000 |
commit | 26632d59dd34aef4834ee9844adeab5131248bf7 (patch) | |
tree | 694c0654f8ae8194c1f2b5ce490990aa5f101821 /src/or/or.h | |
parent | 514f99034fffcbfe6cd37d2b982c6c637e62f37e (diff) | |
download | tor-26632d59dd34aef4834ee9844adeab5131248bf7.tar.gz tor-26632d59dd34aef4834ee9844adeab5131248bf7.zip |
Rename or_is_obsolete and move it to or_connection_t where it belongs.
svn:r17642
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h index eb83d477a3..8e56ac249d 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -904,10 +904,6 @@ typedef struct connection_t { /** Edge connections only: true if we've blocked reading until the * circuit has fewer queued cells. */ unsigned int edge_blocked_on_circ:1; - /** Used for OR conns that shouldn't get any new circs attached to them, - * because the connection is too old. */ - /* XXXX "obsolete" isn't really a good name here. */ - unsigned int or_is_obsolete:1; /** For AP connections only. If 1, and we fail to reach the chosen exit, * stop requiring it. */ unsigned int chosen_exit_optional:1; @@ -1020,6 +1016,10 @@ typedef struct or_connection_t { * address listed in a server descriptor, or because an authenticated * NETINFO cell listed the address we're connected to as recognized. */ unsigned int is_canonical:1; + /** True iff this connection shouldn't get any new circs attached to it, + * because the connection is too old, or because there's a better one, etc. + */ + unsigned int is_bad_for_new_circs:1; uint8_t link_proto; /**< What protocol version are we using? 0 for * "none negotiated yet." */ circid_t next_circ_id; /**< Which circ_id do we try to use next on |