RateControl

This commit is contained in:
2026-07-14 02:27:33 +03:00
parent 4f6d2d0801
commit 1ca9fc477b
19 changed files with 879 additions and 146 deletions
+6
View File
@@ -121,6 +121,7 @@ public partial class EpConnection : NetworkConnection, IStore
Warehouse _serverWarehouse;
public EpServer Server => _server;
internal Warehouse ParsingWarehouse => Instance?.Warehouse ?? _serverWarehouse ?? Warehouse.Default;
//public EpServer Server
//{
// get => _server;
@@ -1857,6 +1858,11 @@ public partial class EpConnection : NetworkConnection, IStore
offset = processPacket(msg, offset, ends, data, chunkId);
}
}
catch (ParserLimitException ex)
{
Global.Log("EpConnection:ParserLimit", LogType.Warning, ex.Message);
Close();
}
catch (Exception ex)
{
Global.Log(ex);