AW: Clarification needed on SSL protocol

2016-10-19 Thread ecki
Hello, Can you publish that trace so we can have a look at it. Your textual description is not clear to me. Does it fail every time for the same host, or what does „many times“ mean? Gruss Bernd -- http://bernd.eckenfels.net Von: Vasudevan Comandur Gesendet: Mittwoch, 19. Oktober 2016 23:48

AW: Controlling releaseConnection

2016-10-17 Thread ecki
Hello, Can younspecify why you need to delay it? Do wou want to make some kind of rate limit with this or optimize pipelining? Gruss Bernd -- http://bernd.eckenfels.net >From Win 10 Mobile Von: Pellerin, Clement Gesendet: Montag, 17. Oktober 2016 23:23 An: httpclient-users@hc.apache.org

Re: UrlEncodedFormEntity and parameter value encoding

2016-09-18 Thread ecki
Hello, While I think it does not hurt to encode it, if you look at the context (form represrntation) you only need to escape characters which hinder thenparsing of forms. And @ is not a problem for that Gruss Bernd -- http://bernd.eckenfels.net >From Win 10 Mobile Von: Oleg Kalnichevski

AW: EntityUtils.ToString() is too slow

2016-07-22 Thread ecki
You need to provide more info, how big is the response, what charset, how long does the server take to provide the first and last byte? I would suspect the server takes 4,832s. Gruss Bernd -- http://bernd.eckenfels.net >From Win 10 Mobile Von: Khare, Aparna

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

2016-05-18 Thread ecki
How do you know the keepalive packets have not been sent? Did you run a tcpdump? The socket API (java and apache) traditionally does not support to configure the keepalive times, they only allow to turn it on. BTW: still think tcp keepalives are not what you want to rely on and might not

Re: Host name resolution

2016-05-18 Thread ecki
There are lots of reasons, and unfortunatelly they have different ways to detect. Here are a few: - proxy setting (if a system or application proxy is set it might resolve addresses differently in one or the other) - ipv6 preference: when the host has v4 and v6 addresses the prio in java

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

2016-05-11 Thread ecki
Hello, Using TCP keepalive wont help you with default OS settings, it would not start to send them in the first 20 idle minutes. You could configure the host to do it quicker but its not something you can portably configure from Java. Besides not all statefull filters honor it as beeing

Re: Having Trouble Getting HttpClient Working with TLSv1.2

2016-04-22 Thread ecki
Souns like the service does not like TLS12, did you try using Browser or openssl to verify what Protocol it accepts. Or just sent a full list of protocols for a test. Gruss Bernd -- http://bernd.eckenfels.net -Original Message- From: Dave Westerman To: