]> git.ipfire.org Git - thirdparty/tor.git/commit
dirauth: Handle V3BandwidthsFile failure modes according to the new spec
authorteor <teor2345@gmail.com>
Mon, 16 Jul 2018 03:33:18 +0000 (13:33 +1000)
committerjuga0 <juga@riseup.net>
Mon, 16 Jul 2018 14:43:49 +0000 (14:43 +0000)
commit79f249e786abfca909e809f18d78e1f4f77463b5
tree05d59a74a4c7906b89ae5967f67b67abbd009974
parent9773311b20b20fe4d1edd7575c74ae2aa8c95211
dirauth: Handle V3BandwidthsFile failure modes according to the new spec

If an authority is not configured with a V3BandwidthsFile, this line
SHOULD NOT appear in its vote.

If an authority is configured with a V3BandwidthsFile, but parsing
fails, this line SHOULD appear in its vote, but without any headers.

Part of 3723, implements the spec in 26799.
src/feature/dirauth/dirvote.c