[tor-bugs] #22927 [Core Tor/Tor]: zstd tests fail on master

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jul 14 19:38:35 UTC 2017


#22927: zstd tests fail on master
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:
     Type:  defect        |         Status:  new
 Priority:  High          |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.1.1-alpha
 Severity:  Normal        |     Resolution:
 Keywords:  tor-dir       |  Actual Points:
Parent ID:                |         Points:  1
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by nickm):

 (The documentation implies that this should work, though:
 {{{
 *  ZSTD_endStream() instructs to finish a frame.
 *  It will perform a flush and write frame epilogue.
 *  The epilogue is required for decoders to consider a frame completed.
 *  Similar to ZSTD_flushStream(), it may not be able to flush the full
 content i
 f `output->size` is too small.
 *  In which case, call again ZSTD_endStream() to complete the flush.
 *  @return : nb of bytes still present within internal buffer (0 if it's
 empty,
 hence compression completed)
 *            or an error code, which can be tested using ZSTD_isError().
 }}}

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


More information about the tor-bugs mailing list