Feature notes: Asynchronous QUIC server and HTTP/3 component
Kind: tQuicRecoveryTimerKind;
Space: tQuicPacketSpace;
Deadline: UInt64;
Space: tQuicPacketSpace;
Packet: tQuicSentPacket;
Active, PadInitialTo1200: Boolean;
Space: tQuicPacketSpace;
PacketCount: Integer;
One serialized controller describes one path. Times are monotone caller microseconds; zero is a valid timestamp. The host validates ACK ranges against its sent-number history before AckReceived. The bounded scalar ledger holds no payloads and does not replace that history. PacketSent records actual transmission; the host checks Congestion.CanSend before ordinary transmission and counts PTO probes in flight as usual. Lost events identify new losses once, with Frames explicitly empty. The host recovers still-needed frame data in new packets, never old packet numbers. A late ACK remains a delivery signal without removing flight bytes or increasing the window a second time. PTO requests probes without declaring loss or reducing the window. Scheduler, amplification byte limits, pacing/burst limits, ECN validation and retransmission selection remain host responsibilities. SetState supplies writable key availability; amplification blocking suppresses PTO, but not a pending loss timer.
constructor Create(aRole: tQuicRole; aMaxDatagramSize: UInt64 = 1200; aMaxTrackedPackets: Integer = 12288; aMaxAckDelayMicros: UInt64 = 25000);
destructor Destroy; override;
procedure PacketSent(aSpace: tQuicPacketSpace; const aPacket: tQuicSentPacket; aInFlight, aAppOrFlowLimited: Boolean; aMtuProbe: Boolean = False; aPathProbe: Boolean = False; aPtoProbe: Boolean = False);
procedure EnableUtilizationEpochs;
procedure NoteCongestionLimited;
procedure NoteApplicationLimited;
procedure AckReceived(aSpace: tQuicPacketSpace; const aAck: tQuicFrame; aAckDelayMicros, aNowMicros: UInt64; out aLost: tQuicRecoveryPackets);
procedure SetState(aHandshakeConfirmed, aPeerAddressValidated, aInitialKeys, aHandshakeKeys, aApplicationKeys, aAmplificationBlocked: Boolean; aNowMicros: UInt64);
procedure SetMaxAckDelay(aMaxAckDelayMicros: UInt64);
procedure SetMaxDatagramSize(aMaxDatagramSize: UInt64);
function NextTimeout(out aTimer: tQuicRecoveryTimer): Boolean;
procedure Timeout(aNowMicros: UInt64; out aLost: tQuicRecoveryPackets; out aProbe: tQuicProbeRequest);
procedure DiscardSpace(aSpace: tQuicPacketSpace; aNowMicros: UInt64);
procedure RejectEarlyData(aNowMicros: UInt64);
procedure ResetForPath(aNowMicros, aMaxDatagramSize: UInt64; aResetCongestion: Boolean; out aLost: tQuicRecoveryPackets);
procedure Clear(aNowMicros: UInt64);
procedure DiscardPathProbes(aNowMicros: UInt64; out aLost: tQuicRecoveryPackets);
property LastAckHadPathProgress: Boolean read fLastAckHadPathProgress;
property Rtt: tQuicRttEstimator read fRtt;
property Congestion: tQuicNewReno read fCongestion;
property PeerAddressValidated: Boolean read PeerValidated;
property PtoCount: Cardinal read fPtoCount;
property LastAckHadProgress: Boolean read fLastAckHadProgress;
property AckScanWork: Int64 read fAckScanWork;
property TrackedPacketCount: Integer read GetTrackedPacketCount;
property MaxAckDelayMicros: UInt64 read fMaxAckDelay;
property UtilizationEpochsEnabled: Boolean read fUtilizationEnabled;
property UtilizationEpochActive: Boolean read GetUtilizationEpochActive;