[tor-bugs] #21663 [Core Tor/Tor]: prop278: Refactor the torgzip module to support additional compression schemes

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 17 16:27:28 UTC 2017


#21663: prop278: Refactor the torgzip module to support additional compression
schemes
----------------------------------------+----------------------------------
 Reporter:  ahf                         |          Owner:  ahf
     Type:  task                        |         Status:  accepted
 Priority:  Medium                      |      Milestone:  Tor:
                                        |  0.3.1.x-final
Component:  Core Tor/Tor                |        Version:
 Severity:  Normal                      |     Resolution:
 Keywords:  TorCoreTeam201703, prop278  |  Actual Points:
Parent ID:                              |         Points:  3
 Reviewer:                              |        Sponsor:  Sponsor4
----------------------------------------+----------------------------------

Comment (by ahf):

 The patches in my `prop278/21663` branch is the cleaned up versions of the
 patches in `bugs/21663` branch which is currently a bit of a mess.

 The only part missing in the `bugs/21663` branch is currently the
 streaming code for Zstd/LZMA, but the `tor_compress()` and
 `tor_uncompress()` functionality is working (and passing tests).

 I think it's realistic that this bug will be marked `needs_review` tonight
 (Danish time) when I'm done splitting things up into something that is
 reviewable, which will include patches for `#21664` and `#21662`.

 `#21665` should be a very short fix, but is not included in the
 `bugs/21663` branch currently; we currently pass `UINT64_MAX` to disable
 the upper bound of memory consumption for LZMA.

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


More information about the tor-bugs mailing list