diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-18 08:51:04 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-18 08:51:04 +0000 |
commit | 765530421efe00f87a864a32fecbf88bffa90319 (patch) | |
tree | 613f9be11e5e76f665d3935de79056d186b2343c /src/or/or.h | |
parent | 6d661d1bc04755cb13b49a9587dc68b528cacfff (diff) | |
download | tor-765530421efe00f87a864a32fecbf88bffa90319.tar.gz tor-765530421efe00f87a864a32fecbf88bffa90319.zip |
be more aggressive about trying to make circuits:
try once a second for 30 seconds, and only when the entire previous
period has failed do we pause after MAX_CIRCUIT_FAILURES failures.
svn:r2281
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 5c2b153293..38f4899185 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1003,7 +1003,7 @@ void circuit_has_opened(circuit_t *circ); void circuit_build_failed(circuit_t *circ); circuit_t *circuit_launch_by_nickname(uint8_t purpose, const char *exit_nickname); circuit_t *circuit_launch_by_identity(uint8_t purpose, const char *exit_digest); -void circuit_reset_failure_count(void); +void circuit_reset_failure_count(int timeout); int connection_ap_handshake_attach_circuit(connection_t *conn); int circuit_init_cpath_crypto(crypt_path_t *cpath, char *key_data,int reverse); |