aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-13 09:41:43 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-13 09:45:30 -0400
commite62518865b312816211086c6a0d080e7258dae5b (patch)
tree9af124680dd0fe461dc2412aec9473ab653e7ac3 /changes
parent6b2696296640585bb6247ff6c88570c38b4b25a8 (diff)
downloadtor-e62518865b312816211086c6a0d080e7258dae5b.tar.gz
tor-e62518865b312816211086c6a0d080e7258dae5b.zip
Decouple routerlist_retry_directory_downloads() from the blob
Instead of having it call update_all_descriptor_downloads and update_networkstatus_downloads directly, we can have it cause them to get rescheduled and called from run_scheduled_events. Closes ticket 16789.
Diffstat (limited to 'changes')
-rw-r--r--changes/decouple_retry_directory6
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/decouple_retry_directory b/changes/decouple_retry_directory
new file mode 100644
index 0000000000..11f901b04f
--- /dev/null
+++ b/changes/decouple_retry_directory
@@ -0,0 +1,6 @@
+ o Code simplification and refactoring:
+ - Change the function that's called when we need to retry all downloads
+ so that it only reschedules the downloads to happen immediately, rather
+ than launching them all at once itself. This further simplifies
+ Tor's callgraph.
+