diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-01-11 18:53:24 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-01-11 18:53:24 -0500 |
commit | d21fa48cac0f41bd52306e269796559f75855323 (patch) | |
tree | 3f58bbe71874b15b205f47e7d7f7620388abbfbc /src/feature/rend | |
parent | 5dd926caa670002c6d2f15ac78e2282c00c352b6 (diff) | |
parent | efd765a94816bb216e81a4962c94bac385947719 (diff) | |
download | tor-d21fa48cac0f41bd52306e269796559f75855323.tar.gz tor-d21fa48cac0f41bd52306e269796559f75855323.zip |
Merge branch 'maint-0.3.5'
Diffstat (limited to 'src/feature/rend')
-rw-r--r-- | src/feature/rend/rendclient.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/feature/rend/rendclient.c b/src/feature/rend/rendclient.c index 10b67ceda9..6ecb3eb3c6 100644 --- a/src/feature/rend/rendclient.c +++ b/src/feature/rend/rendclient.c @@ -150,8 +150,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc, while ((conn = connection_get_by_type_state_rendquery(CONN_TYPE_AP, AP_CONN_STATE_CIRCUIT_WAIT, onion_address))) { - connection_ap_mark_as_non_pending_circuit(TO_ENTRY_CONN(conn)); - conn->state = AP_CONN_STATE_RENDDESC_WAIT; + connection_ap_mark_as_waiting_for_renddesc(TO_ENTRY_CONN(conn)); } } @@ -864,8 +863,7 @@ rend_client_report_intro_point_failure(extend_info_t *failed_intro, while ((conn = connection_get_by_type_state_rendquery(CONN_TYPE_AP, AP_CONN_STATE_CIRCUIT_WAIT, onion_address))) { - connection_ap_mark_as_non_pending_circuit(TO_ENTRY_CONN(conn)); - conn->state = AP_CONN_STATE_RENDDESC_WAIT; + connection_ap_mark_as_waiting_for_renddesc(TO_ENTRY_CONN(conn)); } return 0; |