Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/dnsviz-lg-java/net/dnsviz/websocket/WebSocketClient.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dnsviz-lg-java/net/dnsviz/websocket/WebSocketClient.java b/contrib/dnsviz-lg-java/net/dnsviz/websocket/WebSocketClient.java
index a0ac4fc..7140f8c 100644
--- a/contrib/dnsviz-lg-java/net/dnsviz/websocket/WebSocketClient.java
+++ b/contrib/dnsviz-lg-java/net/dnsviz/websocket/WebSocketClient.java
@@ -78,7 +78,7 @@ public class WebSocketClient {
String headers = "GET " + path + " HTTP/1.1\r\n" +
"Host: " + host + "\r\n" +
"Upgrade: websocket\r\n" +
- "Connection: Upgrade\r\n" +
+ "Connection: Upgrade\r\n" +
"Sec-WebSocket-Key: " + clientKey + "\r\n" +
"Origin: " + origin + "\r\n" +
"Sec-WebSocket-Version: " + WEBSOCKET_VERSION + "\r\n\r\n";
@@ -255,7 +255,7 @@ public class WebSocketClient {
}
}
-
+
if (totalLength > 0x7fffffff) {
throw new IOException("Total message size too big for array");
}