diff --git a/Assets/Mirror/Runtime/Transport/Websocket/Server.cs b/Assets/Mirror/Runtime/Transport/Websocket/Server.cs index 44122de29..c26682cbc 100644 --- a/Assets/Mirror/Runtime/Transport/Websocket/Server.cs +++ b/Assets/Mirror/Runtime/Transport/Websocket/Server.cs @@ -131,7 +131,7 @@ async Task ProcessTcpClient(TcpClient tcpClient, CancellationToken token) WebSocketHttpContext context = await webSocketServerFactory.ReadHttpHeaderFromStreamAsync(tcpClient, stream, token); if (context.IsWebSocketRequest) { - // Force KeepAliveInterval to Zero, otherwise the transport is unstable and causes random disconnects + // Force KeepAliveInterval to Zero, otherwise the transport is unstable and causes random disconnects. WebSocketServerOptions options = new WebSocketServerOptions() { KeepAliveInterval = TimeSpan.Zero, SubProtocol = "binary" }; WebSocket webSocket = await webSocketServerFactory.AcceptWebSocketAsync(context, options);