1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-17 23:15:08 -05:00
curl/src
Dmitry Wagin 796ce293de
http: improve AWS HTTP v4 Signature auth
- Add support services without region and service prefixes in
the URL endpoint (ex. Min.IO, GCP, Yandex Cloud, Mail.Ru Cloud Solutions, etc)
by providing region and service parameters via aws-sigv4 option.
- Add [:region[:service]] suffix to aws-sigv4 option;
- Fix memory allocation errors.
- Refactor memory management.
- Use Curl_http_method instead() STRING_CUSTOMREQUEST.
- Refactor canonical headers generating.
- Remove repeated sha256_to_hex() usage.
- Add some docs fixes.
- Add some codestyle fixes.
- Add overloaded strndup() for debug - curl_dbg_strndup().
- Update tests.

Closes #6524
2021-01-30 23:48:22 +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 curl.se: new home 2020-11-04 23:59:47 +01:00
curl.rc copyright: fix year ranges 2020-11-05 08:22:10 +01:00
Makefile.am curl.se: new home 2020-11-04 23:59:47 +01:00
makefile.amiga curl.se: new home 2020-11-04 23:59:47 +01:00
makefile.dj copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
Makefile.inc curl.se: new home 2020-11-04 23:59:47 +01:00
Makefile.m32 Makefile.m32: add support for UNICODE builds 2020-11-23 16:56:27 +00:00
Makefile.netware copyright: fix year ranges 2020-11-05 08:22:10 +01:00
mkhelp.pl copyright: fix year ranges 2020-11-05 08:22:10 +01:00
slist_wc.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
slist_wc.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_binmode.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_binmode.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_bname.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_bname.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_cb_dbg.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cb_dbg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_cb_hdr.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cb_hdr.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_cb_prg.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cb_prg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_cb_rea.c docs/examples: adjust prototypes for CURLOPT_READFUNCTION 2020-12-30 22:20:24 +01:00
tool_cb_rea.h docs/examples: adjust prototypes for CURLOPT_READFUNCTION 2020-12-30 22:20:24 +01:00
tool_cb_see.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cb_see.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cb_wrt.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cb_wrt.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_cfgable.c http: improve AWS HTTP v4 Signature auth 2021-01-30 23:48:22 +01:00
tool_cfgable.h http: improve AWS HTTP v4 Signature auth 2021-01-30 23:48:22 +01:00
tool_convert.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_convert.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_dirhie.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_dirhie.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_doswin.c copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
tool_doswin.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_easysrc.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_easysrc.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_filetime.c curl: include the file name in --xattr/--remote-time error msgs 2021-01-27 08:45:11 +01:00
tool_filetime.h curl: move fprintf outputs to warnf 2021-01-27 08:45:02 +01:00
tool_formparse.c misc: fix "warning: empty expression statement has no effect" 2020-12-26 23:44:17 +01:00
tool_formparse.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_getparam.c http: improve AWS HTTP v4 Signature auth 2021-01-30 23:48:22 +01:00
tool_getparam.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_getpass.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_getpass.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_help.c http: improve AWS HTTP v4 Signature auth 2021-01-30 23:48:22 +01:00
tool_help.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_helpers.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_helpers.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_homedir.c curl: add compatibility for Amiga and GCC 6.5 2020-11-20 23:36:51 +01:00
tool_homedir.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_hugehelp.c.cvs curl.se: new home 2020-11-04 23:59:47 +01:00
tool_hugehelp.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_libinfo.c curl.h: add CURLPROTO_GOPHERS as own protocol identifier 2021-01-06 15:23:41 +01:00
tool_libinfo.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_main.c copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
tool_main.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_metalink.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_metalink.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_msgs.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_msgs.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_operate.c http: improve AWS HTTP v4 Signature auth 2021-01-30 23:48:22 +01:00
tool_operate.h curl: add variables to --write-out 2020-12-21 16:38:48 +01:00
tool_operhlp.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_operhlp.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_panykey.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_panykey.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_paramhlp.c curl: add variables to --write-out 2020-12-21 16:38:48 +01:00
tool_paramhlp.h curl: add --create-file-mode [mode] 2020-12-21 10:52:41 +01:00
tool_parsecfg.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_parsecfg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_progress.c infof/failf calls: fix format specifiers 2020-11-24 13:18:41 +01:00
tool_progress.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_sdecls.h curl: add variables to --write-out 2020-12-21 16:38:48 +01:00
tool_setopt.c tool_setopt: provide helper output in debug builds 2020-12-18 09:58:04 +01:00
tool_setopt.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_setup.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_sleep.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_sleep.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_strdup.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_strdup.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_urlglob.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_urlglob.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_util.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_util.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_version.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_vms.c curl.se: new home 2020-11-04 23:59:47 +01:00
tool_vms.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_writeout_json.c misc: fix "warning: empty expression statement has no effect" 2020-12-26 23:44:17 +01:00
tool_writeout_json.h curl.se: new home 2020-11-04 23:59:47 +01:00
tool_writeout.c tool_writeout: make %{errormsg} blank for no errors 2021-01-28 07:55:25 +01:00
tool_writeout.h curl: add variables to --write-out 2020-12-21 16:38:48 +01:00
tool_xattr.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
tool_xattr.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00