mirror of
https://github.com/curl/curl.git
synced 2026-07-16 02:27:16 +03:00
config2setopts: fix for --disable-aws build configuration
Closes #20368
This commit is contained in:
parent
1c377717e7
commit
a87f346189
1 changed files with 3 additions and 1 deletions
|
|
@ -486,12 +486,14 @@ static CURLcode ssl_setopts(struct OperationConfig *config, CURL *curl)
|
|||
/* only called for HTTP transfers */
|
||||
static CURLcode http_setopts(struct OperationConfig *config, CURL *curl)
|
||||
{
|
||||
CURLcode result;
|
||||
CURLcode result = CURLE_OK;
|
||||
long postRedir = 0;
|
||||
|
||||
my_setopt_long(curl, CURLOPT_FOLLOWLOCATION, config->followlocation);
|
||||
my_setopt_long(curl, CURLOPT_UNRESTRICTED_AUTH, config->unrestricted_auth);
|
||||
#ifndef CURL_DISABLE_AWS
|
||||
MY_SETOPT_STR(curl, CURLOPT_AWS_SIGV4, config->aws_sigv4);
|
||||
#endif
|
||||
my_setopt_long(curl, CURLOPT_AUTOREFERER, config->autoreferer);
|
||||
|
||||
if(config->proxyheaders) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue