Skip to content

setopt: make NULL CURLOPT_AWS_SIGV4 disable aws-sigv4 auth - #22681

Closed
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:awsoff
Closed

vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:awsoff

Conversation

@vszakats

Copy link
Copy Markdown
Member

Disable CURLAUTH_AWS_SIGV4 when CURLOPT_AWS_SIGV4 is set to NULL.
Syncing behavior with CURLAUTH_HTTPSIG.

Reported-by: Stanislav Fort

Disable `CURLAUTH_AWS_SIGV4` when `CURLOPT_AWS_SIGV4` was set to NULL.
Syncing behavior with `CURLAUTH_HTTPSIG`.

Reported-by: Stanislav Fort

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates CURLOPT_AWS_SIGV4 to honor its documented NULL-disable behavior.

Changes:

  • Clears only the AWS SigV4 authentication bit when set to NULL.
  • Preserves other configured authentication methods.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/setopt.c

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@vszakats vszakats closed this in c3c7044 Aug 26, 2026
@vszakats
vszakats deleted the awsoff branch August 26, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants