diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-01-04 14:57:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-01-04 14:57:06 -0500 |
commit | 79f929723f12ce414a17789966972f97032db255 (patch) | |
tree | e8d8caed1c17df9ca2bb9fd14848d0308dd39c38 | |
parent | f81078527791b244c0200e53ac4862b36c21a1d9 (diff) | |
parent | fe3331b84554c6d6e2e633d77de02453b9a73f88 (diff) | |
download | tor-79f929723f12ce414a17789966972f97032db255.tar.gz tor-79f929723f12ce414a17789966972f97032db255.zip |
Merge branch 'maint-0.3.4' into release-0.3.4
-rw-r--r-- | changes/bug28619 | 6 | ||||
-rw-r--r-- | src/or/hs_service.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/changes/bug28619 b/changes/bug28619 new file mode 100644 index 0000000000..86be8cb2fb --- /dev/null +++ b/changes/bug28619 @@ -0,0 +1,6 @@ + o Minor bugfixes (hidden service v3): + - When deleting an ephemeral onion service (DEL_ONION), do not close any + rendezvous circuits in order to let the existing client connections + finish by themselves or closed by the application. The HS v2 is doing + that already so now we have the same behavior for all versions. Fixes + bug 28619; bugfix on 0.3.3.1-alpha. diff --git a/src/or/hs_service.c b/src/or/hs_service.c index 1b6316dabe..54ceb9dcad 100644 --- a/src/or/hs_service.c +++ b/src/or/hs_service.c @@ -3140,8 +3140,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); |