Re: [httpclient] HTTP2: Memory Leak with Proxy

2018-08-08 Thread Albert Schimpf
Chris, that's good to hear, I'll try it out. Best, Albert On 07.08.2018 18:53, Chris Hegarty wrote: Albert, I haven’t yet looked at what happens in JDK 10, but just to say, since things have moved on a lot in JDK 11 EA, that the same test runs with a reasonable amount of memory and CPU with

Re: [httpclient] HTTP2: Memory Leak with Proxy

2018-08-07 Thread Chris Hegarty
Albert, I haven’t yet looked at what happens in JDK 10, but just to say, since things have moved on a lot in JDK 11 EA, that the same test runs with a reasonable amount of memory and CPU with JDK 11 EA [1]. I updated the test a little, since some the names have been changed with the standardisa

Re: [httpclient] HTTP2: Memory Leak with Proxy

2018-08-07 Thread Chris Hegarty
> On 7 Aug 2018, at 16:55, Albert Schimpf wrote: > > Hi, > > by bad I mean that this proxy is the only one out of ~1000 proxies which > causes this behavior. It's also the only one which causes SSLExceptions > (General SSL engine problem) and EOFExceptions. I don't think that particular > p

Re: [httpclient] HTTP2: Memory Leak with Proxy

2018-08-07 Thread Albert Schimpf
Hi, by bad I mean that this proxy is the only one out of ~1000 proxies which causes this behavior. It's also the only one which causes SSLExceptions (General SSL engine problem) and EOFExceptions. I don't think that particular proxy is a valid proxy. Using curl indicates that this is a SSL ha

Re: [httpclient] HTTP2: Memory Leak with Proxy

2018-08-07 Thread Chris Hegarty
Hi Albert, Very strange indeed. Thanks for reporting it, I’ll investigate. What do your mean by “bad proxy”. What is bad about it, and how does it behave? -Chris. > On 7 Aug 2018, at 10:25, Albert Schimpf wrote: > > Hi, > > I stumbled upon some strange behavior when using the new Java httpc

[httpclient] HTTP2: Memory Leak with Proxy

2018-08-07 Thread Albert Schimpf
Hi, I stumbled upon some strange behavior when using the new Java httpclient. The issue is very simple to reproduce. Send a GET request via a known bad proxy: HttpClient client = HttpClient.newBuilder()     .proxy(ProxySelector.of(BAD_PROXY))     .build(); Htt