CoreConnectionPNames.MIN_CHUNK_LIMIT equivalent in 4.3.1

2013-11-12 Thread Arul Dhesiaseelan
Hi, CoreConnectionPNames is deprecated. I could not find MIN_CHUNK_LIMIT configuration in 4.3.1. The closest I can see is ConnectionConfig.bufferSize. Not sure if they are the same. Any idea? Thanks, Arul

Re: Self-signed SSL certificates

2013-11-12 Thread Oleg Kalnichevski
On Tue, 2013-11-12 at 10:41 +0100, Sebastiano Vigna wrote: > On 12 Nov 2013, at 10:35 AM, Oleg Kalnichevski wrote: > > > spawns (at least in recent Oracle's JREs) which again seems to suggest > > its code being reentrant and thread safe. > > > Thanks. Note that, in line with several other str

Re: Self-signed SSL certificates

2013-11-12 Thread Sebastiano Vigna
On 12 Nov 2013, at 10:35 AM, Oleg Kalnichevski wrote: > spawns (at least in recent Oracle's JREs) which again seems to suggest > its code being reentrant and thread safe. Thanks. Note that, in line with several other strategies in HTTP Core/Client, TrustSelfSignedStrategy could be a singleto

Re: Self-signed SSL certificates

2013-11-12 Thread Oleg Kalnichevski
On Tue, 2013-11-12 at 00:43 +0100, Sebastiano Vigna wrote: > On 11 Nov 2013, at 9:29 PM, Oleg Kalnichevski wrote: > > > --- > > SSLContext sslcontext = SSLContexts.custom() > >.loadTrustMaterial(null, new TrustSelfSignedStrategy()).build(); > > CloseableHttpClient client = HttpClients.cus