Browse Source

reverted ListenerSocket.Listen backlog to 100

pull/123/head
notgiven688 3 years ago
parent
commit
4983e717f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/Server/Fleck/WebSocketServer.cs

+ 1
- 1
server/Server/Fleck/WebSocketServer.cs View File

@ -117,7 +117,7 @@ namespace Fleck
{
var ipLocal = new IPEndPoint(_locationIP, Port);
ListenerSocket.Bind(ipLocal);
ListenerSocket.Listen(1000); // changed from 100 by wmp
ListenerSocket.Listen(100);
Port = ((IPEndPoint)ListenerSocket.LocalEndPoint).Port;
FleckLog.Info(string.Format("Server started at {0} (actual port {1})", Location, Port));
if (_scheme == "wss")

Loading…
Cancel
Save