aboutsummaryrefslogtreecommitdiff
path: root/changes/bug17589
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-17 09:40:05 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-17 09:40:05 -0500
commitdc0d2b59706d036b97451dc1f8addc86ed783c2e (patch)
treea0b3d42c4331fc6e5d373ee7145fb99ed5c97bc0 /changes/bug17589
parentd3cb659541c7f5b0a0c9910e8f8c6b030c5f43f8 (diff)
downloadtor-dc0d2b59706d036b97451dc1f8addc86ed783c2e.tar.gz
tor-dc0d2b59706d036b97451dc1f8addc86ed783c2e.zip
Don't relaunch dir requests recursively if connection_connect() returns -1
Closes ticket 17589.
Diffstat (limited to 'changes/bug17589')
-rw-r--r--changes/bug175897
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/bug17589 b/changes/bug17589
new file mode 100644
index 0000000000..91103276df
--- /dev/null
+++ b/changes/bug17589
@@ -0,0 +1,7 @@
+ o Code simplificiation and refactoring:
+ - When a direct directory request fails immediately on launch,
+ instead of relaunching that request from inside the code that
+ launches it, instead mark the connection for teardown. This
+ change simplifies Tor's callback and prevents the directory-
+ request launching code from invoking itself recursively.
+ Closes ticket 17589. \ No newline at end of file