1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00
curl/src
Daniel Stenberg 7385610d0c
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
2020-11-03 16:08:42 +01:00
..
macos copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
.gitignore VC: remove the makefile.vc6 build infra 2017-01-23 14:27:32 +01:00
CMakeLists.txt CMake: add option to enable Unicode on Windows 2020-08-29 10:01:10 +02:00
curl.rc (lib)curl.rc: fixup for minor bugs 2018-12-10 00:10:04 +01:00
Makefile.am build: drop support for building with Watcom 2020-09-05 21:51:37 +02:00
makefile.amiga copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
makefile.dj copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
Makefile.inc curl: use curlx_dynbuf for realloc when loading config files 2020-09-14 08:32:45 +02:00
Makefile.m32 Makefile.m32: add support for HTTP/3 via ngtcp2+nghttp3 2020-10-16 07:15:19 +00:00
Makefile.netware axtls: removed 2018-11-01 10:29:53 +01:00
mkhelp.pl curl: remove MANUAL from -M output 2019-02-20 08:20:27 +01:00
slist_wc.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
slist_wc.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_binmode.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_binmode.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_bname.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_bname.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_cb_dbg.c tool_debug_cb: do not assume zero-terminated data 2020-11-03 08:14:46 +01:00
tool_cb_dbg.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_cb_hdr.c tool_writeout: add new writeout variable, %{num_headers} 2020-09-15 00:37:08 +02:00
tool_cb_hdr.h curl: two new command line options for etags 2019-11-28 13:05:20 +01:00
tool_cb_prg.c curl: make the -# spaceship bar not wrap the line 2020-01-26 18:31:00 +01:00
tool_cb_prg.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_rea.c curl: remove 'config' field from OutStruct 2020-01-12 17:17:44 +01:00
tool_cb_rea.h curl: fix --upload-file . hangs if delay in STDIN 2019-11-26 09:17:52 +01:00
tool_cb_see.c tool_cb_see: set correct copyright year range 2020-03-07 11:00:48 +01:00
tool_cb_see.h tool_cb_see: set correct copyright year range 2020-03-07 11:00:48 +01:00
tool_cb_wrt.c curl: add --output-dir 2020-08-24 22:41:37 +02:00
tool_cb_wrt.h curl: remove 'config' field from OutStruct 2020-01-12 17:17:44 +01:00
tool_cfgable.c hsts: add support for Strict-Transport-Security 2020-11-03 16:08:42 +01:00
tool_cfgable.h hsts: add support for Strict-Transport-Security 2020-11-03 16:08:42 +01:00
tool_convert.c cli tool: refactor encoding conversion sequence for switch case fallthrough. 2019-02-16 02:04:24 +01:00
tool_convert.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_dirhie.c tool_dirhie.c: fix the copyright year range 2020-01-09 22:49:29 +01:00
tool_dirhie.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_doswin.c tool_doswin: Simplify Windows version detection 2020-08-02 17:59:52 +02:00
tool_doswin.h WIN32: stop forcing narrow-character API 2020-07-27 10:42:38 +02:00
tool_easysrc.c checksrc: warn on space after exclamation mark 2020-10-02 16:35:53 +02:00
tool_easysrc.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_filetime.c src/tool_filetime: disable -Wformat on mingw for this file 2020-10-15 11:00:43 +02:00
tool_filetime.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_formparse.c source cleanup: remove all custom typedef structs 2020-05-15 08:54:42 +02:00
tool_formparse.h copyright: updated year ranges out of sync 2020-05-24 00:02:33 +02:00
tool_getparam.c hsts: add support for Strict-Transport-Security 2020-11-03 16:08:42 +01:00
tool_getparam.h curl: report error for "--no-" on non-boolean options 2019-05-20 19:04:54 +02:00
tool_getpass.c symbian: drop support 2020-09-22 15:14:12 +02:00
tool_getpass.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
tool_help.c hsts: add support for Strict-Transport-Security 2020-11-03 16:08:42 +01:00
tool_help.h --help: strdup the category 2020-09-18 14:47:23 +02:00
tool_helpers.c curl: report error for "--no-" on non-boolean options 2019-05-20 19:04:54 +02:00
tool_helpers.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_homedir.c curl: support XDG_CONFIG_HOME to find .curlrc 2020-08-24 16:37:09 +02:00
tool_homedir.h curl: support XDG_CONFIG_HOME to find .curlrc 2020-08-24 16:37:09 +02:00
tool_hugehelp.c.cvs copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
tool_hugehelp.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_libinfo.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_libinfo.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_main.c symbian: drop support 2020-09-22 15:14:12 +02:00
tool_main.h curl: support parallel transfers 2019-07-20 19:14:16 +02:00
tool_metalink.c source cleanup: remove all custom typedef structs 2020-05-15 08:54:42 +02:00
tool_metalink.h source cleanup: remove all custom typedef structs 2020-05-15 08:54:42 +02:00
tool_msgs.c curl: use errorf() better 2019-12-10 10:03:33 +01:00
tool_msgs.h curl: show better error message when no homedir is found 2019-12-03 16:26:02 +01:00
tool_operate.c hsts: add support for Strict-Transport-Security 2020-11-03 16:08:42 +01:00
tool_operate.h tool_writeout: add new writeout variable, %{num_headers} 2020-09-15 00:37:08 +02:00
tool_operhlp.c tool_operhlp: Copyright year out of date, should be 2020 2020-02-04 08:30:05 +01:00
tool_operhlp.h curl: support parallel transfers 2019-07-20 19:14:16 +02:00
tool_panykey.c symbian: drop support 2020-09-22 15:14:12 +02:00
tool_panykey.h symbian: drop support 2020-09-22 15:14:12 +02:00
tool_paramhlp.c curl: make checkpasswd use dynbuf 2020-09-14 12:33:53 +02:00
tool_paramhlp.h tool: make a few char pointers point to const char instead 2019-12-31 22:18:56 +01:00
tool_parsecfg.c src: Consistently spell whitespace without whitespace 2020-09-30 21:10:14 +02:00
tool_parsecfg.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_progress.c curl: remove 'config' field from OutStruct 2020-01-12 17:17:44 +01:00
tool_progress.h curl: support parallel transfers 2019-07-20 19:14:16 +02:00
tool_sdecls.h curl: remove 'config' field from OutStruct 2020-01-12 17:17:44 +01:00
tool_setopt.c hsts: add support for Strict-Transport-Security 2020-11-03 16:08:42 +01:00
tool_setopt.h hsts: add support for Strict-Transport-Security 2020-11-03 16:08:42 +01:00
tool_setup.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_sleep.c misc: copyright year updates 2020-03-31 11:02:18 +02:00
tool_sleep.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_strdup.c strdup: remove the odd strlen check 2020-07-18 12:37:25 +02:00
tool_strdup.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_urlglob.c tool_urlglob: fix compiler warning "unreachable code" 2020-09-15 00:31:18 +02:00
tool_urlglob.h source cleanup: remove all custom typedef structs 2020-05-15 08:54:42 +02:00
tool_util.c util: silence conversion warnings 2020-07-19 10:34:58 +02:00
tool_util.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_version.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_vms.c source cleanup: remove all custom typedef structs 2020-05-15 08:54:42 +02:00
tool_vms.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_writeout_json.c tool_writeout: add new writeout variable, %{num_headers} 2020-09-15 00:37:08 +02:00
tool_writeout_json.h tool_writeout: add new writeout variable, %{num_headers} 2020-09-15 00:37:08 +02:00
tool_writeout.c tool_writeout: protect fputs() from NULL 2020-09-15 22:52:51 +02:00
tool_writeout.h tool_writeout: add new writeout variable, %{num_headers} 2020-09-15 00:37:08 +02:00
tool_xattr.c curl: follow-up to 3f16990ec8 2019-02-11 14:22:36 +01:00
tool_xattr.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00