On 16 Jan 2018, at 09:17, Tom Ritter tom@ritter.vg wrote:
Also, Tor has new compression options for zstd and lzma.
Given that this is an externally-controlled file, we could stream it from disk and compress it on the fly with something cheap like gzip or zstd.
I haven't seen any indicated in dir-spec how to handle those? Or how I should change the proposal to accommodate them? Should I make the url .gz and say that the DirAuth should compress it and stream it from disk?
There is this section about gzip-compression, the extension is ".z": https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n3777
I have opened this ticket to document how other compression formats work in tor-spec:
https://trac.torproject.org/projects/tor/ticket/24909
T
-- Tim / teor
PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B ricochet:ekmygaiu4rzgsk6n ------------------------------------------------------------------------