Keshav Gupta created HTTPCLIENT-2010:
----------------------------------------

             Summary: SSL handshaking taking lot of time in createLayeredSocket 
in SSLConnectionSocketFactory
                 Key: HTTPCLIENT-2010
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2010
             Project: HttpComponents HttpClient
          Issue Type: Bug
    Affects Versions: 4.5.9
            Reporter: Keshav Gupta


I am seeing SSL handshaking taking lot of time. 

Difference between log messages
{code:java}
"Starting handshake"{code}
and
{code:java}
"Secure session established" in {code}
 

SSLConnectionSocketFactory in connectSocket is greater than soTime set.

 
{code:java}
if (connectTimeout > 0 && sock.getSoTimeout() == 0) { 
sock.setSoTimeout(connectTimeout); }
{code}
connectTimeout set is 5000.

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to