bridge descriptor download parameters should be configurable
BridgeDescMgr
is configurable via a struct BridgeDescDownloadConfig
. But right now the only way to construct one of those is its Default
impl. Instead, this should be configurable via or derivable from something that appears, eventually, in TorClientConfig
.
Open questons:
- Should this be part of
DownloadSchedule
([download_schedule]
config section) or part of[bridges]
? - Do we want a way for the user to specify
parallelism
in one place for both directory downloads and bridge downloads - or are these different things that they ought not to be mixed up this way? - Same question for
BridgeDescDownloadConfig.retry
vsDownloadScheduleConfig.retry_*
?
When this is decided the actual implementation should be reasonably obvious.