debug(dtls): log en tête d'Incoming (état de la garde active/transport/failed)
Build Game Server / build (push) Successful in 22s
Build Game Server / build (push) Successful in 22s
This commit is contained in:
@@ -88,14 +88,16 @@ public sealed class DTLSHandlerComponent : HandlerComponent
|
||||
|
||||
public override void Incoming(FBitReader packet)
|
||||
{
|
||||
Logger.Information("[DTLS] Incoming CALLED active={A} transportNull={T} failed={F} established={E} bitsLeft={B}",
|
||||
IsActive(), _transport == null, _failed, _established, packet.GetBitsLeft());
|
||||
|
||||
if (!IsActive() || _transport == null || _failed)
|
||||
{
|
||||
return; // passthrough (connexion non chiffrée)
|
||||
}
|
||||
|
||||
var record = ReadAlignedBytes(packet);
|
||||
Logger.Information("[DTLS] Incoming active={A} established={E} failed={F} nbytes={N} head={H}",
|
||||
IsActive(), _established, _failed, record.Length,
|
||||
Logger.Information("[DTLS] Incoming nbytes={N} head={H}", record.Length,
|
||||
Convert.ToHexString(record.AsSpan(0, Math.Min(record.Length, 12))));
|
||||
if (record.Length == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user