Production ready: hardening, limits, docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -74,7 +74,8 @@ public static class Wire
|
||||
/// <summary>TCP-Verbindung zu einem Spieler, gleiches Format wie in der Mod: [int Länge][byte Typ][Payload].</summary>
|
||||
public sealed class Connection
|
||||
{
|
||||
const int MaxFrame = 32 * 1024 * 1024;
|
||||
// Spieler schicken nur kleine Pakete (Positionen, Aktionen); der Spielstand geht nur vom Server zum Spieler
|
||||
const int MaxFrame = 1024 * 1024;
|
||||
|
||||
public bool IsClosed { get; private set; }
|
||||
public string CloseReason { get; private set; }
|
||||
|
||||
Reference in New Issue
Block a user