Feature notes: TLS implementation notes (RFC map) · Asynchronous QUIC server and HTTP/3 component
(no public members)
inherits from TPersistent
The bounds TsmHTTPSv3 enforces; HTTP.txt section 20.2 lists each one and the rules for combining them. Change them only while the associated QUIC server is inactive: setters raise eQuicAsyncServer while it is active, and for a value out of range; an inconsistent combination raises when Server is assigned or the server activates. Each new connection takes a copy of them. Ordinary handlers get the whole request body in memory, so MaxBodyBytes and the body budgets bound an upload; a response from a file or owned stream is read in pieces as QUIC can send it.
constructor Create(aOwner: TsmHTTPSv3);
procedure Assign(aSource: TPersistent); override;
function Snapshot: tHttp3ServerLimits;
property TotalBodyBytes: Int64 read fTotalBodyBytes write SetTotalBodyBytes default 268435456;
property TotalResponseBytes: Int64 read fTotalResponseBytes write SetTotalResponseBytes default 268435456;
property MaxHeaderBlockBytes: Integer read fValues.MaxHeaderBlockBytes write SetMaxHeaderBlockBytes default 65536;
property MaxFieldSectionBytes: Integer read fValues.MaxFieldSectionBytes write SetMaxFieldSectionBytes default 65536;
property SendWindowBytes: Integer read fValues.SendWindowBytes write SetSendWindowBytes default 65536;
property MaxBufferedSendBytes: Integer read fValues.MaxBufferedSendBytes write SetMaxBufferedSendBytes default 262144;
property MaxActiveRequests: Integer read fValues.MaxActiveRequests write SetMaxActiveRequests default 100;
property MaxRequests: Integer read fValues.MaxRequests write SetMaxRequests default 1000;
property MinRequestBlockAgeMSec: Integer read fValues.MinRequestBlockAgeMSec write SetMinRequestBlockAgeMSec default 60000;
property MaxPeerUniStreams: Integer read fValues.MaxPeerUniStreams write SetMaxPeerUniStreams default 64;
property MaxBodyBytes: Integer read fValues.MaxBodyBytes write SetMaxBodyBytes default 8388608;
property MaxConnectionBodyBytes: Integer read fValues.MaxConnectionBodyBytes write SetMaxConnectionBodyBytes default 8388608;
property MaxMemoryResponseBytes: Integer read fValues.MaxMemoryResponseBytes write SetMaxMemoryResponseBytes default 16777216;
property MaxUnproductiveFrames: Integer read fValues.MaxUnproductiveFrames write SetMaxUnproductiveFrames default 4096;
property QpackTableCapacity: Integer read fValues.QpackTableCapacity write SetQpackTableCapacity default 0;
property QpackBlockedStreams: Integer read fValues.QpackBlockedStreams write SetQpackBlockedStreams default 0;
property MaxQpackBlockedBytes: Integer read fValues.MaxQpackBlockedBytes write SetMaxQpackBlockedBytes default 262144;
property MaxPushes: Integer read fValues.MaxPushes write SetMaxPushes default 0;
property MaxActivePushes: Integer read fValues.MaxActivePushes write SetMaxActivePushes default 8;
property MaxPushBufferedBytes: Integer read fValues.MaxPushBufferedBytes write SetMaxPushBufferedBytes default 262144;
property PushTimeoutMSec: Integer read fValues.PushTimeoutMSec write SetPushTimeoutMSec default 10000;
property HeaderTimeoutMSec: Integer read fValues.HeaderTimeoutMSec write SetHeaderTimeoutMSec default 10000;
property RequestTimeoutMSec: Integer read fValues.RequestTimeoutMSec write SetRequestTimeoutMSec default 30000;
inherits from TComponent
implements iQuicAppProtocolComponent, iHttpAltSvcSource
constructor Create(aOwner: TComponent); override;
destructor Destroy; override;
procedure BindToServer(aServer: TComponent);
function AppProtocol: iQuicAppProtocol;
function AltSvcEndpoint: iHttpAltSvcEndpoint;
procedure AddHandler(const aPath: string; const aHandler: iHttpRequestHandler);
procedure AddEvent(const aPath: string; aEvent: tHttpRequestEvent);
procedure AddFile(const aReqPath, aPhysicalFile: string);
procedure AddFiles(const aMap: array of THttpFileMap);
property BodyBytesHeld: Int64 read GetBodyBytesHeld;
property ResponseBytesHeld: Int64 read GetResponseBytesHeld;
property Router: iHttpRouter read GetRouter write SetRouter;
property SessionProvider: iHttpSessionProvider read GetSessionProvider write SetSessionProvider;
property Server: TsmAsyncQUICServer read fServer write SetServer;
property Limits: tHTTP3Limits read fLimits write SetLimits;
property EnableEarlyData: Boolean read fEnableEarlyData write SetEnableEarlyData default False;
property EarlyDataPolicy: StreamSec.Http.Server.tEarlyDataPolicy read fEarlyDataPolicy write SetEarlyDataPolicy default edpRefuse;
property OnRequest: tHttpRequestEvent read GetOnRequest write SetOnRequest;