Fix infinite recursion in SSLConnectionSocketFactory

This commit is contained in:
Ryan Schmitt 2022-03-22 16:37:25 -07:00 committed by Oleg Kalnichevski
parent f00ce5da9e
commit c395aad5ad
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ public class SSLConnectionSocketFactory implements LayeredConnectionSocketFactor
final String target,
final int port,
final HttpContext context) throws IOException {
return createLayeredSocket(socket, target, port, context);
return createLayeredSocket(socket, target, port, null, context);
}
@Override