I've now created https://bugs.openjdk.org/browse/JDK-8346705 to track this.
-Jaikiran
On 18/11/24 10:16 pm, Nicolas Henneaux wrote:
Hi Daniel,
Thanks for your answer!
I know it is not supported hence I have built some years ago a library
around HttpClient to do that.
https://github.com/nhen
Hello Nicolas,
On 25/11/24 9:57 pm, Nicolas Henneaux wrote:
Hi Jaikiran,
I still have not received your answer. Hopefully I got it from the
mailing list archive but it is not really convenient.
Are you subscribed to the net-dev mailing list? Since my replies are
reaching net-dev archives, I
Hello Nicolas,
On 25/11/24 2:05 pm, Nicolas Henneaux wrote:
Hi Jaikiran,
For unknown reason, I have not received your reply.
Not sure what happened but here's my previous reply
https://mail.openjdk.org/pipermail/net-dev/2024-November/024726.html.
The issue I have is SslParameters#ServerN
Hello Nicolas,
On 18/11/24 10:16 pm, Nicolas Henneaux wrote:
Hi Daniel,
...
I think it is a regression introduced in Java22 since configured
SslParameters#ServerNames is now discarded in favour of the HTTP
hostname which is not valid if the hostname is an IP.
Do you mean that, after that c
Hi Daniel, Thanks for your answer! I know it is not supported hence I have built some
years ago a library around HttpClient to do that.
https://github.com/nhenneaux/resilient-httpclient I made a pull request with the fix
I would need to be applied https://github.com/openjdk/jdk/pull/22211/files
Hi Nicolas,
If I understand correctly, you would like to be able to select which
IP address is used when connecting to a host that has several
IP addresses.
This functionality is currently not supported by the HttpClient.
best regards,
-- daniel
On 18/11/2024 15:56, Nicolas Henneaux wrote:
In
I dig a bit deeper on this subject and I think it has been introduced by
https://github.com/openjdk/jdk/commit/ba837b4bfa2dea85653d8a8fccd0817a569b4378#diff-25625467b43d4f533bace30665a2d8aaaf60ec7323bd424ff7683e5afd722d14R130
using the hostname from the HTTP request and not using sslParameters#s