summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-05 10:23:28 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-05 10:23:28 -0500
commit967efc0d28ffdedfb52640456e4483dd2ee63e05 (patch)
treee1222b259c452899ee01947ae11eb4f14b89a696 /src
parent0906dde9d5ac409caf9f70ea7ec00efc42ec27ca (diff)
parentd37dbb09c2e8867cf2b87dc45e8646351754e94a (diff)
downloadtor-967efc0d28ffdedfb52640456e4483dd2ee63e05.tar.gz
tor-967efc0d28ffdedfb52640456e4483dd2ee63e05.zip
Merge remote-tracking branch 'tor-github/pr/546' into maint-0.3.5
Diffstat (limited to 'src')
-rw-r--r--src/feature/hs/hs_service.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c
index 7d56c9e2ad..3042428954 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -3627,8 +3627,10 @@ hs_service_del_ephemeral(const char *address)
goto err;
}
- /* Close circuits, remove from map and finally free. */
- close_service_circuits(service);
+ /* Close introduction circuits, remove from map and finally free. Notice
+ * that the rendezvous circuits aren't closed in order for any existing
+ * connections to finish. We let the application terminate them. */
+ close_service_intro_circuits(service);
remove_service(hs_service_map, service);
hs_service_free(service);