Re: MaxLineLength

Giganews Newsgroups
Subject: Re: MaxLineLength
Posted by:  Remy Lebeau \(TeamB\) (
Date: Thu, 21 Aug 2008

"Arch" <archie.campbe…> wrote in message

> I am using IdHTTPServer in Delphi v10 to receive a large encrypted
> chunk of XML, and keep triggering the EIdReadLnMaxLineLengthExceeded
> exception.

EIdReadLnMaxLineExceeded only applies when data is being read 1 line at a
time, but THTTPServer receives data using streams instead.  Please show your
actual code, and an example of the HTTP request you are trying to process.

> Is there a simple way to increase the max line length?

It is a property of the connection's IOHandler.



In response to

MaxLineLength posted by Arch on Wed, 20 Aug 2008