Topic Path: Symbol Reference > Classes > TIdCustomHTTPServer Class > TIdCustomHTTPServer Properties > MaximumHeaderLineCount Property
ContentsIndexHome
PreviousUpNext
TIdCustomHTTPServer.MaximumHeaderLineCount Property

Maximum number of header lines allowed in an HTTP request.

property MaximumHeaderLineCount: Integer;

MaximumHeaderLineCount is an Integer property that indicates the maximum number of headers lines allowed when processing requests for connections the server. MaximumHeaderLineCount is used to avoid the situation (commonly referred to as "header bombing") where an excess number of header lines are written in HTTP requests in an attempt to invoke a DOS (Denial of Service) attack. 

The default value for MaximumHeaderLineCount is Id_TId_HTTPMaximumHeaderLineCount, as assigned during initialization of the component.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.