mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
no actual changes besides a seg fault on startup, i meant
svn:r17986
This commit is contained in:
+7
-4
@@ -810,10 +810,13 @@ circuit_build_failed(origin_circuit_t *circ)
|
||||
n_conn->_base.address, n_conn->_base.port);
|
||||
n_conn->is_bad_for_new_circs = 1;
|
||||
}
|
||||
entry_guard_register_connect_status(n_conn_id, 0, 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);
|
||||
if (circ->_base.n_hop) {
|
||||
const char *n_conn_id = circ->_base.n_hop->identity_digest;
|
||||
entry_guard_register_connect_status(n_conn_id, 0, 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);
|
||||
}
|
||||
}
|
||||
|
||||
switch (circ->_base.purpose) {
|
||||
|
||||
Reference in New Issue
Block a user