We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48cbb46 commit 2f56b70Copy full SHA for 2f56b70
src/main/java/org/java_websocket/client/WebSocketClient.java
@@ -488,8 +488,8 @@ public void run(){
488
SSLSocketFactoryfactory = null;
489
// Prioritise the provided socketfactory
490
// Helps when using web debuggers like Fiddler Classic
491
-if (socketFactory != null&& (socketFactoryinstanceofSSLSocketFactory)){
492
-factory = (SSLSocketFactory) socketFactory;
+if (socketFactory != null && (socketFactoryinstanceofSSLSocketFactory)){
+factory = (SSLSocketFactory) socketFactory;
493
} else{
494
SSLContextsslContext = SSLContext.getInstance("TLSv1.2");
495
sslContext.init(null, null, null);
0 commit comments