summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/circuituse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 92e1d94d23..11bafda002 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -743,6 +743,7 @@ circuit_build_failed(origin_circuit_t *circ)
"(%s:%d). I'm going to try to rotate to a better connection.",
n_conn->_base.address, n_conn->_base.port);
n_conn->_base.or_is_obsolete = 1;
+ /* XXX021 consider setting n_conn->socket_error to TIMEOUT */
entry_guard_register_connect_status(n_conn->identity_digest, 0,
time(NULL));
}