Why we use different logic with openjdk java Proxy when it comes to http.nonProxyHosts system property #5718
Unanswered
cccccccmcho
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys.
Thank you for reaching out first.
I've been working on applying a proxy to my server recently.
However, I've noticed that the way non-proxy hosts are handled in the AWS SDK is different from the way they are handled in the actual http client, and I'd like to know why.
Does anyone know?
reference
openjdk DefaultProxySeleector.java
aws sdk
aws-sdk-java-v2/utils/src/main/java/software/amazon/awssdk/utils/http/SdkHttpUtils.java
Line 437 in 9530396
The logic for evaluating the regex is different, so it actually gives different results in the two cases.
Also, aws allows * in the middle and openjdk does not, why?
Beta Was this translation helpful? Give feedback.
All reactions