]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Set 'root-except-ta' as default, fix bugs deleting RRDP repo files.
authorpcarana <pc.moreno2099@gmail.com>
Sat, 1 Feb 2020 00:06:00 +0000 (18:06 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Sat, 1 Feb 2020 00:06:00 +0000 (18:06 -0600)
commitb5ad676be19e8ff6d544e24ba5b2277bee1accf1
tree8c92168991aaef70cbbca8fb0f16b9e0bc2d2848
parentdd2f96441e6d4b65cd7d3e144ff6f1ab6cab84ce
Set 'root-except-ta' as default, fix bugs deleting RRDP repo files.

+Remove unnecessary functions at 'visited_uris.h', rename function that deletes local files.
+Refactor the way the old repository files related to an RRDP URI are deleted, instead of deleting the 'best guess' of the root dir, delete each root dir of the mft uris stored at visited uris struct. The daemon will do its best effort to remove the files.
+Update year 2019 refs by 2020.
+Use 'root-except-ta' rsync strategy as default (and update docs as well), to prevent rsyncs to overwrite repositories fetched via RRDP.
+Remove 'create_snapshot' logic from 'rrdp_parser', wasn't of too much help since the 'If-Modified-Since' impl already avoids to load unnecessary data.
+Remove local repository files related to an RRDP URI only on session ID updates; also, reset RSYNC visited URIs of a TAL if an RRDP repository sync fails, this helps to refresh the repo via rsync (if rsync is the secondary option to fetch it).
+Fix 'tal_test.c' error comparing loaded URIs.
15 files changed:
docs/incidence.md
docs/usage.md
examples/config.json
man/fort.8
src/config.c
src/delete_dir_daemon.c
src/delete_dir_daemon.h
src/rrdp/db/db_rrdp_uris.c
src/rrdp/rrdp_loader.c
src/rrdp/rrdp_parser.c
src/rsync/rsync.c
src/rsync/rsync.h
src/visited_uris.c
src/visited_uris.h
test/tal_test.c