]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Add module to support HTTPS requests.
authorpcarana <pc.moreno2099@gmail.com>
Tue, 12 Nov 2019 23:42:29 +0000 (17:42 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Tue, 12 Nov 2019 23:42:29 +0000 (17:42 -0600)
commit9b703ab67b55a96c8f897cdcb236609822b3a097
tree0f73d079fa04df4c529130692fecc450f65b2014
parentecb37ed0411be1d7f7002518fae68229c89e2806
Add module to support HTTPS requests.

-New program arguments to configure http requests:
+http.user-agent
+http.connect-timeout
+http.transfer-timeout
+http.ca-path
-Relocate functions that create a local directory structure from a local URI, so that can be utilized by rsync.c and http.c.
-Expose a function to download a file from an HTTPS URL, the function is expected to write the bytes from the response into a file using a callback (defined by the caller).
-Add libcurl dependency at makefile and docs (still needs an update for the distinct OSs installation).
-Add unit test for the http module.
-Update man and docs with new configuration properties.
-Update configuration example with new configuration properties.
17 files changed:
configure.ac
docs/installation.md
docs/usage.md
examples/config.json
man/fort.8
src/Makefile.am
src/common.c
src/common.h
src/config.c
src/config.h
src/http/http.c [new file with mode: 0644]
src/http/http.h [new file with mode: 0644]
src/main.c
src/rsync/rsync.c
test/Makefile.am
test/http_test.c [new file with mode: 0644]
test/impersonator.c