Use SSL socket factory to create unconnected sockets
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.1.x@1080163 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
73e6ca8bb8
commit
126f1da349
|
@ -339,12 +339,12 @@ public class SSLSocketFactory implements LayeredSchemeSocketFactory, LayeredSock
|
||||||
* @since 4.1
|
* @since 4.1
|
||||||
*/
|
*/
|
||||||
public Socket createSocket(final HttpParams params) throws IOException {
|
public Socket createSocket(final HttpParams params) throws IOException {
|
||||||
return new Socket();
|
return this.socketfactory.createSocket();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Socket createSocket() throws IOException {
|
public Socket createSocket() throws IOException {
|
||||||
return new Socket();
|
return this.socketfactory.createSocket();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue