]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Move rrdp.* args to http.* configurations
authorpcarana <pc.moreno2099@gmail.com>
Thu, 23 Jul 2020 16:46:10 +0000 (11:46 -0500)
committerpcarana <pc.moreno2099@gmail.com>
Thu, 23 Jul 2020 16:46:10 +0000 (11:46 -0500)
commit85478ff30ebc029abb0ded48de5b557f52a758e0
tree5c765d09db57f21c4ef5349514b70dc6eb22fc3f
parentbeb26b8549954da35c5aea3734d9b6ec3ba73b16
Move rrdp.* args to http.* configurations

+The new arguments are: http.enabled, http.priority, http.retry.count, http.retry.interval.
+rrdp.* args still exist. When any of them is set (via conf file or as arg) a warning message is displayed and the value of the argument is set to its corresponding http.* arg.
+Move the 'retries logic' to the http requests, since only RRDP flows had it.
+At a TAL: when shuffle-uris arg is set, do the shuffle first and then consider the priority set at rsync and http args, so that the priority argument can be honored.
18 files changed:
src/Makefile.am
src/config.c
src/config.h
src/config/rrdp_conf.c [new file with mode: 0644]
src/config/rrdp_conf.h [new file with mode: 0644]
src/config/uint.c
src/config/uint.h
src/config/uint32.c
src/config/uint32.h
src/config/work_offline.c
src/http/http.c
src/object/certificate.c
src/object/tal.c
src/object/tal.h
src/rrdp/rrdp_loader.c
src/rrdp/rrdp_parser.c
test/impersonator.c
test/tal_test.c