aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-11-13 10:43:03 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-11-13 10:43:03 -0500
commit8fb318860ecd399a59b830920e4aa21607a7b3ce (patch)
treecaa65c194fcbf79c733ea777fd7ca0fb4bc12af6 /src
parentd000e798acce374225ead0bd074169ad611bf001 (diff)
parent6f2151be9a3e8b535bff4477a17f9c41d3f1d7f4 (diff)
downloadtor-8fb318860ecd399a59b830920e4aa21607a7b3ce.tar.gz
tor-8fb318860ecd399a59b830920e4aa21607a7b3ce.zip
Merge branch 'maint-0.3.5'
Diffstat (limited to 'src')
-rw-r--r--src/feature/hs/hs_intropoint.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/feature/hs/hs_intropoint.c b/src/feature/hs/hs_intropoint.c
index c716447c9f..2ea53af6a0 100644
--- a/src/feature/hs/hs_intropoint.c
+++ b/src/feature/hs/hs_intropoint.c
@@ -503,12 +503,6 @@ handle_introduce1(or_circuit_t *client_circ, const uint8_t *request,
/* Circuit has been closed on failure of transmission. */
goto done;
}
- if (status != HS_INTRO_ACK_STATUS_SUCCESS) {
- /* We just sent a NACK that is a non success status code so close the
- * circuit because it's not useful to keep it open. Remember, a client can
- * only send one INTRODUCE1 cell on a circuit. */
- circuit_mark_for_close(TO_CIRCUIT(client_circ), END_CIRC_REASON_INTERNAL);
- }
done:
trn_cell_introduce1_free(parsed_cell);
return ret;