Joel Famy created HTTPCLIENT-1950:
-------------------------------------

             Summary: setSSLHostnameVerifier does not take effect when socket 
factory set
                 Key: HTTPCLIENT-1950
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1950
             Project: HttpComponents HttpClient
          Issue Type: Bug
            Reporter: Joel Famy


When building an HttpClient using HttpClientBuilder, if setSSLSocketFactory() 
is called, the build() method ignores the hostnameVerifier, set via 
setSSLHostnameVerifier().

To avoid confusion, either an exception should be thrown in the above scenario 
until/unless it's possible to set the hostnameVerifier directly on any 
previously set sslSocketFactory.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to