Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertytHttp2Conn.HeaderTimeoutMSec

property HeaderTimeoutMSec: Integer read fHeaderTimeoutMSec write fHeaderTimeoutMSec;
Absolute limits, in milliseconds, on how long a peer may take; 0 (or less) turns that limit off. HeaderTimeoutMSec bounds the client preface and first SETTINGS, every incomplete frame and each HEADERS/CONTINUATION block; on expiry the connection ends with GOAWAY(ENHANCE_YOUR_CALM). RequestTimeoutMSec bounds the rest of a buffered request after its headers; on expiry only that stream is reset with CANCEL. Defaults 10000 and 30000. Set them before Opened, and assign OnWorkDeadline so that they expire even when no input arrives.