mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
hs-v3: Do not close RP circuits when deleting an ephemeral service
Bug reported on tor-dev@ and here is the detail explanation of the issue: https://lists.torproject.org/pipermail/tor-dev/2018-November/013558.html Fixes bug #28619 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
+4
-2
@@ -3105,8 +3105,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user