#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 _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs