]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixup! Make router_pick_directory_server respect PDS_NO_EXISTING_*
authorNick Mathewson <nickm@torproject.org>
Tue, 23 Sep 2014 16:30:47 +0000 (12:30 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 23 Sep 2014 16:30:47 +0000 (12:30 -0400)
Clean up comments on PDS_NO_EXISTING_*

src/or/or.h

index 546adaa3a2acefdb2b6a1d83dc09c2fe0880d2ed..b778435f0354014daf281c43fa81e396b78f7b70 100644 (file)
@@ -4925,14 +4925,13 @@ typedef struct dir_server_t {
  * or extrainfo documents.
  *
  * Passed to router_pick_directory_server (et al)
- *
- * [XXXX NOTE: This option is only implemented for pick_trusteddirserver,
- *  not pick_directory_server.  If we make it work on pick_directory_server
- *  too, we could conservatively make it only prevent multiple fetches to
- *  the same authority, or we could aggressively make it prevent multiple
- *  fetches to _any_ single directory server.]
  */
 #define PDS_NO_EXISTING_SERVERDESC_FETCH (1<<3)
+/** Flag to indicate that we should not use any directory authority to which
+ * we have an existing directory connection for downloading microdescs.
+ *
+ * Passed to router_pick_directory_server (et al)
+ */
 #define PDS_NO_EXISTING_MICRODESC_FETCH (1<<4)
 
 /** This node is to be chosen as a directory guard, so don't choose any