LayeredSchemeSocketFactory.createLayeredSocket() should have access to 
HttpParams
---------------------------------------------------------------------------------

                 Key: HTTPCLIENT-1160
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1160
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpConn
    Affects Versions: 4.1.2
            Reporter: Steffen Pingel


We use a custom implementation of LayeredSchemeSocketFactory that manages a 
keystore location through HttpParams. That allows us to use different keystores 
on a per connection basis.

When a proxy is used LayeredSchemeSocketFactory.createLayeredSocket() is 
invoked which does not have a parameter that passes the HttpParams along. In 
consequence certificate authentication fails in our implementation. Is there a 
reason why all other factory methods in the super class have an HttpParams 
parameter except for LayeredSchemeSocketFactory.createLayeredSocket()?

The downstream bug is here:

369805: certificate authentication with custom keystore fails behind proxy
https://bugs.eclipse.org/bugs/show_bug.cgi?id=369805

Any input would be greatly appreciated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to