[tor-bugs] #22206 [Core Tor/Tor]: Fetching compressed consensus gives it uncompressed if Accept-Encoding header is specified
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed May 10 14:43:52 UTC 2017
#22206: Fetching compressed consensus gives it uncompressed if Accept-Encoding
header is specified
--------------------------+------------------------------------
Reporter: Sebastian | Owner: ahf
Type: defect | Status: needs_review
Priority: Medium | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: regression | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by ahf):
My initial patch was more or less like that, except that I toggled the
`ZLIB_METHOD` in the branch where the `Accept-Encoding` header value was
read.
I added the flag to the `parse_accept_encoding_header()` in case we wanted
to do ".zstd", ".gz", and ".lzma" at some point in the future, which
should make that more trivial to do. I'm OK with either solutions though.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22206#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list