[tor-bugs] #22206 [Core Tor/Tor]: Fetching compressed consensus behaves unpredictably strange
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue May 9 04:02:26 UTC 2017
#22206: Fetching compressed consensus behaves unpredictably strange
--------------------------+------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by yawning):
The code MUST respond to `.z` GETs/`Accept-Encoding: identity` requests
with a response consisting of zlib compressed payload, because the
identity transform of a `.z` file is a `.z` file, not plaintext.
The code MAY responmd to `.z` GETs/`Accept-Encoding:` that does not
include `identity` requests by doing an extra compression pass on the `.z`
payload. Alternatively, it could return an error (`406 Not Acceptable`
seems like the right one?).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22206#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list