[tor-bugs] #11787 [Tor]: Can we save huge amounts of directory bandwith with Z_NO_FLUSH?
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri May 9 09:53:06 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 wfn):
Replying to [comment:1 nickm]:
> Totally untested patch in branch "bug11787" in my public repository
Not sure and maybe the patch is only for benchmarking / testing out
things, but wouldn't the ''de''compression part in `torgzip.c` also need
changing?
{{{
302 switch (inflate(stream, complete_only ? Z_FINISH : Z_SYNC_FLUSH))
}}}
and
{{{
477 err = inflate(&state->stream, finish ? Z_FINISH : Z_SYNC_FLUSH);
}}}
or am I mistaken?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11787#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list