[tor-bugs] #11787 [Tor]: Can we save huge amounts of directory bandwith with Z_NO_FLUSH?

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 10 03:00:32 UTC 2014


#11787: Can we save huge amounts of directory bandwith with Z_NO_FLUSH?
------------------------+--------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay zlib
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by nickm):

 I think Z_SYNC_FLUSH is safe on inflate.  After all, there is only one
 correct output for inflating any compressed zlib stream.  (Anybody want to
 look at the zlib source to see what's up?)

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


More information about the tor-bugs mailing list