Skip to content

Commit 8b65869

Browse files
committed
Override onSetSSLParameters to not call setEndpointIdentificationAlgorithm
1 parent d5e60c5 commit 8b65869

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/pusher/client/connection/websocket/WebSocketClientWrapper.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import javax.net.ssl.SSLContext;
1010
import javax.net.ssl.SSLException;
11+
import javax.net.ssl.SSLParameters;
1112
import javax.net.ssl.SSLSocketFactory;
1213

1314
import org.java_websocket.client.WebSocketClient;
@@ -89,4 +90,9 @@ public void onError(final Exception ex) {
8990
public void removeWebSocketListener() {
9091
webSocketListener = null;
9192
}
93+
94+
@Override
95+
protected void onSetSSLParameters(SSLParameters sslParameters) {
96+
// https://github.com/TooTallNate/Java-WebSocket/wiki/No-such-method-error-setEndpointIdentificationAlgorithm
97+
}
9298
}

0 commit comments

Comments
 (0)