]> git.ipfire.org Git - thirdparty/tor.git/commit
Correctly handle partial success in consensus diff calculation.
authorNick Mathewson <nickm@torproject.org>
Mon, 20 Nov 2017 16:02:40 +0000 (11:02 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 20 Nov 2017 16:04:37 +0000 (11:04 -0500)
commit3bb29dd707fbc825501c30ed9a6fe4aecdf4fd22
tree267dd9972514e75dc17c34839447036e93235c2a
parent73585595245ac9551a1982575941e954bb870ad0
Correctly handle partial success in consensus diff calculation.

Previously, if store_multiple() reported a partial success, we would
store all the handles it gave us as if they had succeeded.  But it's
possible for the diff to be only partially successful -- for
example, if LZMA failed but the other compressors succeeded.

Fixes bug 24086; bugfix on 0.3.1.1-alpha.
changes/bug24086 [new file with mode: 0644]
src/or/consdiffmgr.c