lunar-shadow opened a new pull request, #15506:
URL: https://github.com/apache/iceberg/pull/15506
### Summary
Add `http-client.proxy-use-system-property-values` and
`http-client.proxy-use-environment-variable-values` properties to control
whether AWS SDK reads proxy settings from Java system properties and
environment variables.
Both default to `true` (AWS SDK default). Applied to both `ApacheHttpClient`
and `UrlConnectionHttpClient`.
### Motivation
In environments where proxy environment variables (`HTTP_PROXY`,
`HTTPS_PROXY`) are set globally but should not apply to AWS/S3 traffic, there
is currently no way to disable them without unsetting the variables system-wide.
### Test plan
- Added unit tests in `TestHttpClientConfigurations` covering both HTTP
client types with `true` and `false` values for each property
- Default behavior (not set) covered by existing tests
- Documentation updated in `docs/docs/aws.md`
Closes #15504
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]