SNI not sent with Java 22+ using java.net.http.HttpClient.Builder#sslParameters
Daniel Fuchs
daniel.fuchs at oracle.com
Mon Nov 18 16:40:13 UTC 2024
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 the library, I force the IP in the HTTP request to enforce the target
> IP keeping the HTTP host header and SNI aligned with the actual value.
> The detected SNI is then empty, is it possible to support both detected
> and specified SNI?
More information about the net-dev
mailing list