aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-12-04 03:26:35 +0000
committerRoger Dingledine <arma@torproject.org>2004-12-04 03:26:35 +0000
commit5a6e117caff98f9113701977b9dfa86a86d693fc (patch)
tree3cafef3d24f7c26ff3612bcc261280a84e94d069 /src/or/circuituse.c
parentc644886c3860d30e37ef8ded7f1a675c543e3c57 (diff)
downloadtor-5a6e117caff98f9113701977b9dfa86a86d693fc.tar
tor-5a6e117caff98f9113701977b9dfa86a86d693fc.tar.gz
React to eof immediately on non-open edge connections.
Stop keeping track of num_retries for apconns, since they expire after 60 seconds anyway. When warning about retrying or giving up, print the address, so the user knows which one it's talking about. svn:r3073
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 0c3cf2578..64604679d 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -13,7 +13,7 @@ const char circuituse_c_id[] = "$Id$";
#include "or.h"
/** Longest time to wait for a circuit before closing an AP connection */
-#define CONN_AP_MAX_ATTACH_DELAY 60
+#define CONN_AP_MAX_ATTACH_DELAY 59
/********* START VARIABLES **********/