NoHttpResponseException in the async client

2016-11-11 Thread Joan Balagueró - ventusproxy
Hello, We have replaced the httpclient by the async client in our application. Everything works fine, but the ‘NoHttpResponseException’ has disappeared from our error statistics reports. So, or with the new async pool this error does not occur for some reason (that I don’t know) or we are not catc

Re: SSL Handshake : timing and timeout

2016-11-11 Thread Stefan Magnus Landrø
True. The way SSL sockets are created is complex stuff. They are layered and I believe the handshake is async - maybe Oleg could clarify? Anyways - We ran into an issue a few years ago with an SSL handshake taking for ever (a switch was dropping packets of a certain size ... ), and tracked our han

Re: SSL Handshake : timing and timeout

2016-11-11 Thread Philippe Mouawad
Thanks but I see not property related to Ssl Handshake timeout. Regards On Friday, November 11, 2016, Stefan Magnus Landrø wrote: > https://hc.apache.org/httpcomponents-client-ga/ > httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html# > setDefaultSocketConfig(org.apache.http.c

Re: SSL Handshake : timing and timeout

2016-11-11 Thread Stefan Magnus Landrø
https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html#setDefaultSocketConfig(org.apache.http.config.SocketConfig) 2016-11-11 9:34 GMT+01:00 Philippe Mouawad : > Thank you Stefan > Could you point me to some doc ? > > Thanks > > On Fri

Re: SSL Handshake : timing and timeout

2016-11-11 Thread Philippe Mouawad
Thank you Stefan Could you point me to some doc ? Thanks On Fri, Nov 11, 2016 at 9:20 AM, Stefan Magnus Landrø < stefan.lan...@gmail.com> wrote: > > > Sendt fra min iPhone > > > Den 11. nov. 2016 kl. 00.25 skrev Philippe Mouawad >: > > > > Hello, > > Is there a way in HttpClient/HttpCore to com

Re: SSL Handshake : timing and timeout

2016-11-11 Thread Stefan Magnus Landrø
Sendt fra min iPhone > Den 11. nov. 2016 kl. 00.25 skrev Philippe Mouawad : > > Hello, > Is there a way in HttpClient/HttpCore to compute the time taken by SSL > Handshake ? > And timeout handshake ? Use socketoptions > > Thank you > Regards > Philippe M.