Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow usage of system default proxy #2679

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Allow usage of system default proxy #2679

merged 1 commit into from
Sep 21, 2023

Conversation

SergeyRyabinin
Copy link
Contributor

@SergeyRyabinin SergeyRyabinin commented Sep 21, 2023

Issue #, if available:
Historically, SDK's http clients disable all system proxy usage
Description of changes:
Provide a handle to allow WinHTTP and curl built-in system proxy discovery.
Check all that applies:

  • Did a review by yourself.
  • Added proper tests to cover this PR. (If tests are not applicable, explain.)
  • Checked if this PR is a breaking (APIs have been changed) change.
  • Checked if this PR will not introduce cross-platform inconsistent behavior.
  • Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

  • Linux
  • Windows
  • Android
  • MacOS
  • IOS
  • Other Platforms

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@SergeyRyabinin SergeyRyabinin merged commit a3a39d0 into main Sep 21, 2023
4 checks passed
@SergeyRyabinin SergeyRyabinin deleted the sr/sysProxy branch September 21, 2023 16:30
fuhry added a commit to fuhry/aws-kms-pkcs11 that referenced this pull request Jan 19, 2024
At present, it's not possible to use aws-kms-pkcs11 with a proxy other
than by manually editing source code and recompiling. This is obviously
less-than-ideal.

The AWS C++ SDK recently added support for honoring traditional system
proxy environment variables [1]. This commit starts using this new
option in aws-kms-pkcs11.

The setting defaults to off, because the PR was only merged relatively
recently (Sept 2023) and is not likely to have made it into distribution
repositories yet. The setting can be toggled at compile time by setting
`AWS_SDK_USE_SYSTEM_PROXY=y`, following the existing y/n conventions.

Documentation is updated accordingly.

[1] aws/aws-sdk-cpp#2679
JackOfMostTrades pushed a commit to JackOfMostTrades/aws-kms-pkcs11 that referenced this pull request Jan 23, 2024
At present, it's not possible to use aws-kms-pkcs11 with a proxy other
than by manually editing source code and recompiling. This is obviously
less-than-ideal.

The AWS C++ SDK recently added support for honoring traditional system
proxy environment variables [1]. This commit starts using this new
option in aws-kms-pkcs11.

The setting defaults to off, because the PR was only merged relatively
recently (Sept 2023) and is not likely to have made it into distribution
repositories yet. The setting can be toggled at compile time by setting
`AWS_SDK_USE_SYSTEM_PROXY=y`, following the existing y/n conventions.

Documentation is updated accordingly.

[1] aws/aws-sdk-cpp#2679
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants