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 cb907bf commit 8a9df49Copy full SHA for 8a9df49
src/main/java/org/java_websocket/client/WebSocketClient.java
@@ -435,8 +435,9 @@ private void sendHandshake() throws InvalidHandshakeException {
435
path += '?' + part2;
436
int port = getPort();
437
String host = uri.getHost() + (
438
- (port != WebSocket.DEFAULT_PORT && port != WbSocket.DEFAULT_WSS_PORT)
439
- ? ":" + port : "" );
+ (port != WebSocket.DEFAULT_PORT && port != WebSocket.DEFAULT_WSS_PORT)
+ ? ":" + port
440
+ : "" );
441
442
HandshakeImpl1Client handshake = new HandshakeImpl1Client();
443
handshake.setResourceDescriptor( path );
0 commit comments