[tor-bugs] #22051 [Core Tor/Tor]: Use streaming compression API in the non-streaming compression API

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 24 13:41:27 UTC 2017


#22051: Use streaming compression API in the non-streaming compression API
------------------------------+--------------------------------
     Reporter:  ahf           |      Owner:
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.1.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  sponsor4
Actual Points:                |  Parent ID:
       Points:  1             |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 We currently have some code duplication in tor's compress/uncompress API
 and the streaming compression/decompression API.

 It could make sense to check if the streaming API could be used to
 implement `tor_gzip_compress()` and `tor_gzip_uncompress()` (and the new
 LZMA & Zstandard implementations when they land).

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


More information about the tor-bugs mailing list