Skip to content

Conversation

@alextwoods
Copy link
Contributor

Description of changes:
Adds java bindings for the no_proxy_hosts setting introduced in: awslabs/aws-c-http#532

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@alextwoods alextwoods marked this pull request as ready for review October 21, 2025 22:12
Copy link
Contributor

@TingDaoK TingDaoK left a comment

Choose a reason for hiding this comment

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

Thanks! Fix&ship

Comment on lines 179 to 184
options.withClientBootstrap(bootstrap).withSocketOptions(socketOptions).withTlsContext(tlsCtx).withUri(uri);
try (HttpClientConnectionManager connectionPool = HttpClientConnectionManager.create(options)) {
try (HttpClientConnection conn = connectionPool.acquireConnection().get(60, TimeUnit.SECONDS)) {
;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

trivial: Maybe also try to connect the amazon.com, which doesn't fall into the no-proxy and verify it failed as expected.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good idea, added!

@alextwoods alextwoods merged commit ef1cab8 into main Oct 22, 2025
56 checks passed
@alextwoods alextwoods deleted the no_proxy_bindings branch October 22, 2025 21:25
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