Re: SSL trouble with wildcards and certs in 4.4 beta1

2015-01-08 Thread Dan Quaroni
The problem doesn't reproduce with the trunk, so I suppose from my perspective that's mission accomplished. Thanks. On Wed, Jan 7, 2015 at 4:33 AM, Oleg Kalnichevski ol...@apache.org wrote: On Tue, 2015-01-06 at 17:08 -0500, Dan Quaroni wrote: This used to work in 4.3... I've tried setting

SSL trouble with wildcards and certs in 4.4 beta1

2015-01-06 Thread Dan Quaroni
This used to work in 4.3... I've tried setting other HostNameVerifiers (which seem to be all deprecated now in 4.4) but that also hasn't helped. The Default verifier is rejecting a cert with a wilcard in it: javax.net.ssl.SSLPeerUnverifiedException: Host name 'us8.api.mailchimp.com' does not

Re: PoolingHttpClientConnectionManager SSL Handshake exception

2015-09-08 Thread Dan Quaroni
HttpClient did get more picky about certs. On Tue, Sep 8, 2015 at 4:31 AM, Bhuvaneswari Anandhan < bhuvaneswari.anand...@oracle.com> wrote: > Hi , > > > > Recently we have done a Apache http component migration from 3.1 to 4.4.1. > > > > We have changed the connection manager implementation from

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Dan Quaroni
What version of HttpClient are you using? I cut the sleep down to 1ms and have had it running for 25 minutes and am not observing any such memory leak. On Tue, Feb 2, 2016 at 3:21 PM, Oleg Kalnichevski wrote: > On Tue, 2016-02-02 at 21:16 +0100, David Skalka wrote: > > what

Re: HttpClientBuilder Memory Leak

2016-02-02 Thread Dan Quaroni
Ah. I'm using 4.5. Perhaps it's no longer an issue. On Tue, Feb 2, 2016 at 3:34 PM, David Skalka <david.ska...@gmail.com> wrote: > 4.4.1 > > 2016-02-02 21:29 GMT+01:00 Dan Quaroni <q...@invoke.com>: > > > What version of HttpClient are you using? I cut the sleep

Re: HttpClientBuilder Memory Leak

2016-02-03 Thread Dan Quaroni
hat profiler and java version are you using? > > > > Gary > > > > On Tue, Feb 2, 2016 at 1:39 PM, David Skalka <david.ska...@gmail.com> > > wrote: > > > > > I updated httpclient to 4.5.1 and after 30minutes I see same result. > > > memory is gr

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-11 Thread Dan Quaroni
Is there any way you can turn this into 2 requests? 1 to kick off the long process which stores the results somewhere, and 1 to poll for the results to get them when they're available? On Wed, May 11, 2016 at 10:52 AM, Baratali Izmailov wrote: > Hello, > > I have http

Reading only the first X bytes of the response stream

2016-09-01 Thread Dan Quaroni
I'm writing a utility that will retrieve some metadata about swf (flash) files and I'd like to use httpclient to read the data but I want clarity on the necessity to read the entire stream. The information I need is all in the first few bytes of the file, and the files could potentially be quite

Re: HttpClient bounded download size

2016-12-12 Thread Dan Quaroni
This code is part of a class I made to do this (In this case I needed to grab the first 128 or so bytes of SWF files so I could parse the display dimensions): HttpGet get = new HttpGet(buildUrl(url)); try (CloseableHttpResponse response = client.execute(get)) { SwfInfo