aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-11-13 10:37:25 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-11-13 10:37:25 -0500
commit6f2151be9a3e8b535bff4477a17f9c41d3f1d7f4 (patch)
treede5b3be5883a4602465217d810872c57f5654f6b /src/feature
parentae4c94bb6468078ba16de481991e781e1b486340 (diff)
parentf89f14802e938c7abcd2a6387f64d442cefe72c2 (diff)
downloadtor-6f2151be9a3e8b535bff4477a17f9c41d3f1d7f4.tar.gz
tor-6f2151be9a3e8b535bff4477a17f9c41d3f1d7f4.zip
Merge branch 'tor-github/pr/487' into maint-0.3.5
Diffstat (limited to 'src/feature')
-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;