Re: MaxLineLength

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

"Arch" <archie.campbe…@ed.ac.uk> wrote in message
news:9CCC65481860E340archie.campbe…@ed.ac.uk...

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

Gambit

Replies

In response to

MaxLineLength posted by Arch on Wed, 20 Aug 2008