Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.MaxCapturedLines Property

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.