mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-07-30 17:30:40 +00:00
RateControl
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user