summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-02-04 23:27:35 +0000
committerRoger Dingledine <arma@torproject.org>2009-02-04 23:27:35 +0000
commitdecdf4537ab9d2fc8301a01f7b7ce1b47b109f98 (patch)
treecc250ef7b1e3a01d49d0f072cca05691ba2b1064 /src/or/circuituse.c
parent8977f24eb8810d68c8fed09f5e81a0b0e0350a23 (diff)
downloadtor-decdf4537ab9d2fc8301a01f7b7ce1b47b109f98.tar.gz
tor-decdf4537ab9d2fc8301a01f7b7ce1b47b109f98.zip
If we're using bridges and our network goes away, be more willing
to forgive our bridges and try again when we get an application request. Bugfix on 0.2.0.x. svn:r18396
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 06a083ef0f..4bc6fcbe8f 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -812,7 +812,7 @@ circuit_build_failed(origin_circuit_t *circ)
n_conn->is_bad_for_new_circs = 1;
}
if (n_conn_id) {
- entry_guard_register_connect_status(n_conn_id, 0, time(NULL));
+ entry_guard_register_connect_status(n_conn_id, 0, 1, time(NULL));
/* if there are any one-hop streams waiting on this circuit, fail
* them now so they can retry elsewhere. */
connection_ap_fail_onehop(n_conn_id, circ->build_state);