]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Send 'If-Modified-Since' header on update notification requests.
authorpcarana <pc.moreno2099@gmail.com>
Wed, 4 Dec 2019 16:05:55 +0000 (10:05 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Wed, 4 Dec 2019 16:05:55 +0000 (10:05 -0600)
commitec56deed31da6e0f6892fe96159588ebec4bc7fd
treebf531ef5e141b070036ceedd855cc286da9de31f
parent6babf49ac84fdfa79b476e29e43c394a7a14dd91
Send 'If-Modified-Since' header on update notification requests.

+The last update is stored along with the RRDP URIs DB, this date is updated once the file processing (snapshot or deltas) is successfully terminated.
+Be ready in case the server responds an HTTP 304 status code.
+Use CURL option 'CURLOPT_FAILONERROR' to treat HTTP status code > 400 as errors.
12 files changed:
src/http/http.c
src/http/http.h
src/object/tal.c
src/rrdp/db_rrdp.c
src/rrdp/db_rrdp.h
src/rrdp/rrdp_handler.c
src/rrdp/rrdp_handler.h
src/rrdp/rrdp_loader.c
src/rrdp/rrdp_parser.c
src/rrdp/rrdp_parser.h
src/rtr/db/vrps.c
src/rtr/db/vrps.h