Skip to content

DirMgr: Stop load-from-cache process when there is no change.

Nick Mathewson requested to merge nickm/arti:bug482 into main

Previously in !511 (merged) I had introduced a bug where, if there was an error more serious than "no change", that error would keep us from noticing that we had no change, and we'd loop until the safety counter ran out. Then we'd panic.

This commit fixes the bug by reintroducing the changed boolean -- this time as an outparam for the add_from_* methods.

Fixes #482 (closed).

Merge request reports

Loading