Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Properties > MaxCapturedLines Property
ContentsIndexHome
PreviousUpNext
TIdIOHandler.MaxCapturedLines Property

Maximum number of lines permitted when capturing multi-line messages or responses.

property MaxCapturedLines: Integer;

MaxCapturedLines is an Integer property that represents the maximum number of lines permitted when capturing multi-line responses on the IOHandler. 

The default value for MaxCapturedLines is Id_IOHandler_MaxCapturedLines

MaxCapturedLines allows clients (and servers) to guard against memory allocation attacks (commonly referred to as buffer overruns). 

MaxCapturedLines is used in the implementation of the Capture method, and causes an EIdMaxCaptureLineExceeded to be raised when the number of lines for the operation exceeds the property value.

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