[tor-bugs] #19831 [Metrics/CollecTor]: Change default for compressing descriptors to true
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Aug 4 13:51:37 UTC 2016
#19831: Change default for compressing descriptors to true
-----------------------------------+-----------------------------
Reporter: karsten | Owner:
Type: enhancement | Status: new
Priority: Low | Milestone: CollecTor 1.0.0
Component: Metrics/CollecTor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------------+-----------------------------
Long ago, there was a bug in tor that broke compressed downloads provided
via the DirPort (#11648). The fix went into 0.2.5, so we can safely
assume that all directory authorities have upgraded and don't have this
bug anymore. Two separate checks have confirmed that fetching compressed
descriptors works without issues. We should change the default to save
everybody's bandwidth.
Trivial patch:
{{{
diff --git a/src/main/resources/collector.properties
b/src/main/resources/collector.properties
index e7d41ae..a108673 100644
--- a/src/main/resources/collector.properties
+++ b/src/main/resources/collector.properties
@@ -101,7 +101,7 @@ DownloadAllServerDescriptors = false
DownloadAllExtraInfoDescriptors = false
#
## Compress relay descriptors downloads by adding .z to the URLs
-CompressRelayDescriptorDownloads = false
+CompressRelayDescriptorDownloads = true
#
## Relative path to directory to write directory archives to
DirectoryArchivesOutputDirectory = out/relay-descriptors/
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19831>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list