summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-20 16:22:02 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-20 16:22:02 -0400
commit2ed0d240e8dea9a789bd6969112a1df4d0363947 (patch)
tree39d82dad0a753a44036197b879b8a73143f05c2e
parent813019cc57844876fcc63d87510b8efbcbf80563 (diff)
parentfa6d5dd2686d9fedfbbea9bdf0d7dab1a7afc7c4 (diff)
downloadtor-2ed0d240e8dea9a789bd6969112a1df4d0363947.tar.gz
tor-2ed0d240e8dea9a789bd6969112a1df4d0363947.zip
Merge remote-tracking branch 'dgoulet/ticket27410_032_01'
-rw-r--r--changes/ticket274105
-rw-r--r--src/feature/hs/hs_client.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/changes/ticket27410 b/changes/ticket27410
new file mode 100644
index 0000000000..a21fdde58e
--- /dev/null
+++ b/changes/ticket27410
@@ -0,0 +1,5 @@
+ o Minor bugfixes (hidden service v3):
+ - Close all SOCKS request (for the same .onion) if the newly fetched
+ descriptor is unusable. Before that, we would close only the first one
+ leaving the other hanging and let to time out by themselves. Fixes bug
+ 27410; bugfix on 0.3.2.1-alpha.
diff --git a/src/feature/hs/hs_client.c b/src/feature/hs/hs_client.c
index a6384b87a3..fa7c78c8f9 100644
--- a/src/feature/hs/hs_client.c
+++ b/src/feature/hs/hs_client.c
@@ -1688,7 +1688,7 @@ hs_client_desc_has_arrived(const hs_ident_dir_conn_t *ident)
/* We are unable to use the descriptor so remove the directory request
* from the cache so the next connection can try again. */
note_connection_attempt_succeeded(edge_conn->hs_ident);
- goto end;
+ continue;
}
log_info(LD_REND, "Descriptor has arrived. Launching circuits.");