TBlockSocket.MaxLineLength
TBlockSocket
property MaxLineLength: Integer;
Unit
blcksock
Description
Define maximum length in bytes of LineBuffer for high-level receive functions. If this functions try to read more data then this maximum, error is returned!
If value is 0 (default), no limitation is used.
This is very good for protection for stupid attacks to your server by sending lot of data without proper terminator... until all your memory is used by LineBuffer!
Note: This maximum length is checked only in functions, what read unknown number of bytes! (like RecvString or RecvTerminated)
See also:
LineBuffer, RecvString, RecvTerminated