]> git.ipfire.org Git - thirdparty/curl.git/commit
hsts: add support for Strict-Transport-Security
authorDaniel Stenberg <daniel@haxx.se>
Mon, 2 Nov 2020 22:17:01 +0000 (23:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Nov 2020 15:08:42 +0000 (16:08 +0100)
commit7385610d0c74c6a254fea5e4cd6e1d559d848c8c
tree3b572bcf972062b7cc1315ac23fdb547e7216463
parent9f43b28f783cc8f7464492a0b5b9dd35c1625fde
hsts: add support for Strict-Transport-Security

- enable in the build (configure)
- header parsing
- host name lookup
- unit tests for the above
- CI build
- CURL_VERSION_HSTS bit
- curl_version_info support
- curl -V output
- curl-config --features
- CURLOPT_HSTS_CTRL
- man page for CURLOPT_HSTS_CTRL
- curl --hsts (sets CURLOPT_HSTS_CTRL and works with --libcurl)
- man page for --hsts
- save cache to disk
- load cache from disk
- CURLOPT_HSTS
- man page for CURLOPT_HSTS
- added docs/HSTS.md
- fixed --version docs
- adjusted curl_easy_duphandle

Closes #5896
38 files changed:
configure.ac
docs/EXPERIMENTAL.md
docs/HSTS.md [new file with mode: 0644]
docs/Makefile.am
docs/cmdline-opts/Makefile.inc
docs/cmdline-opts/hsts.d [new file with mode: 0644]
docs/cmdline-opts/version.d
docs/libcurl/curl_easy_setopt.3
docs/libcurl/curl_version_info.3
docs/libcurl/opts/CURLOPT_HSTS.3 [new file with mode: 0644]
docs/libcurl/opts/CURLOPT_HSTS_CTRL.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.inc
docs/libcurl/symbols-in-versions
docs/options-in-versions
include/curl/curl.h
lib/Makefile.inc
lib/curl_get_line.c
lib/easy.c
lib/easyoptions.c
lib/hsts.c [new file with mode: 0644]
lib/hsts.h [new file with mode: 0644]
lib/http.c
lib/setopt.c
lib/url.c
lib/urldata.h
lib/version.c
src/tool_cfgable.c
src/tool_cfgable.h
src/tool_getparam.c
src/tool_help.c
src/tool_operate.c
src/tool_setopt.c
src/tool_setopt.h
tests/data/Makefile.inc
tests/data/test1660 [new file with mode: 0644]
tests/runtests.pl
tests/unit/Makefile.inc
tests/unit/unit1660.c [new file with mode: 0644]