[tor-bugs] #22669 [Core Tor/Tor]: When sending cached_dir_t objects compressed with zlib, do not claim zstd compression.

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 20 15:23:45 UTC 2017


#22669: When sending cached_dir_t objects compressed with zlib, do not claim zstd
compression.
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:  nickm
     Type:  defect        |         Status:  accepted
 Priority:  Medium        |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:  #22502        |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Description changed by nickm:

Old description:

> Right now our code in handle_status_vote sends cached_dir_t objects in
> their deflated variant when compression is negotiated... but it claims to
> have compressed them with zlib.
>
> This has been a bit of a heisenbug, since it only happens when we're
> downloading votes, which doesn't happen with the usual timing on chutney.

New description:

 Right now our code in handle_status_vote sends cached_dir_t objects in
 their deflated variant when compression is negotiated... but it claims to
 have compressed them with zstd when both sides support that.

 This has been a bit of a heisenbug, since it only happens when we're
 downloading votes, which doesn't happen with the usual timing on chutney.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22669#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list