diff options
author | Roger Dingledine <arma@torproject.org> | 2007-07-29 22:13:44 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-07-29 22:13:44 +0000 |
commit | ca7c53d3cc93c71ee1c5d268cbfd3c48dfb1848f (patch) | |
tree | 7813c499176f38180fce80004fa7bb23c25b6929 /src/or/or.h | |
parent | 70f1c257294e5712b2a1128d9a9a98424972048b (diff) | |
download | tor-ca7c53d3cc93c71ee1c5d268cbfd3c48dfb1848f.tar.gz tor-ca7c53d3cc93c71ee1c5d268cbfd3c48dfb1848f.zip |
Be even more aggressive about separating local traffic from relayed
traffic when RelayBandwidthRate is set. (Refines proposal 111.)
svn:r10974
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index 9a487fbd9e..a189d7247d 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -845,9 +845,9 @@ typedef struct or_connection_t { tor_tls_t *tls; /**< TLS connection state. */ int tls_error; /**< Last tor_tls error code. */ - /** Whether we are using this conn for any client traffic. If we're - * not, we can rate limit it further. */ - uint8_t client_used:1; + /** When we last used this conn for any client traffic. If not + * recent, we can rate limit it further. */ + time_t client_used; circ_id_type_t circ_id_type:2; /**< When we send CREATE cells along this * connection, which half of the space should |