Re: [java.net.http.HttpClient] Active monitoring of resolved IP addresses

2019-11-18 Thread Nicolas Henneaux
uld be the next steps? Tell me if I can help in any way to move forward on this subject. Thanks for your help anyway, Best regards, Nicolas Henneaux On Fri, 15 Nov 2019 at 17:18, Daniel Fuchs wrote: > Hi Nicolas, > > Sorry for the late reply... > > On 07/11/2019 17:13, Pavel Rappo

Re: [java.net.http.HttpClient] Active monitoring of resolved IP addresses

2019-12-17 Thread Nicolas Henneaux
Hi Daniel, Have you got the chance to look at my previous mail? Thank you in advance, Best regards, Nicolas On Sun, 17 Nov 2019 08:49 Nicolas Henneaux, wrote: > Hi Daniel, > > Thank you for your answer ! > > Such mechanism to provide an *InetSocketAddress* from a hostname wou

Re: [java.net.http.HttpClient] Active monitoring of resolved IP addresses

2020-07-29 Thread Nicolas Henneaux
Client with those checks disabled at instance level instead of globally? System.setProperty("jdk.internal.httpclient.disableHostnameVerification", Boolean.TRUE.toString()); System.setProperty("jdk.httpclient.allowRestrictedHeaders", "host"); Thanks in advance for

Re: [java.net.http.HttpClient] Active monitoring of resolved IP addresses

2020-07-29 Thread Nicolas Henneaux
wrote: > Hi Nicolas, > > On 29/07/2020 13:20, Nicolas Henneaux wrote: > > > System.setProperty("jdk.internal.httpclient.disableHostnameVerification", > Boolean.TRUE.toString()); > > System.setProperty("jdk.httpclient.allowRestrictedHeaders", "h

Re: [java.net.http.HttpClient] Active monitoring of resolved IP addresses

2020-08-13 Thread Nicolas Henneaux
cloud environments, the underlying IP of a hostname might indeed move on a regular basis. Thank you in advance for your feedback, Best regards, Nicolas Henneaux On Wed, 29 Jul 2020 at 16:53, Nicolas Henneaux wrote: > Hi Daniel, > > It is needed since the hostname sent in the HTTP clie

How to reuse TCP connection when using a proxy with java.net.http.HttpClient in HTTP/1.1

2021-01-11 Thread Nicolas Henneaux
-version openjdk version "15.0.1" 2020-10-20 OpenJDK Runtime Environment AdoptOpenJDK (build 15.0.1+9) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15.0.1+9, mixed mode, sharing) $ uname -a Linux enix-002 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Thanks in advance for your help, Best regards, Nicolas Henneaux

Re: How to reuse TCP connection when using a proxy with java.net.http.HttpClient in HTTP/1.1

2021-01-11 Thread Nicolas Henneaux
e input stream without > draining the bytes. With HTTP/1.1 this will force the connection > to get closed. This is the expected behavior. > > best regards, > > -- daniel > > On 11/01/2021 20:29, Nicolas Henneaux wrote: > > Hi, > > > > I have a problem when usi

Re: How to reuse TCP connection when using a proxy with java.net.http.HttpClient in HTTP/1.1

2021-01-11 Thread Nicolas Henneaux
Thanks Simone, that makes sense. I haven't thought there is actually no other way for the server to know the response is fully consumed or not. Thanks all! Nicolas On Mon, 11 Jan 2021 at 22:08, Simone Bordet wrote: > Hi, > > On Mon, Jan 11, 2021 at 9:28 PM Nicolas Hen