Re: idHTTPServer - ServeFile trying to alocate whole download files in memory...

Giganews Newsgroups
Subject: Re: idHTTPServer - ServeFile trying to alocate whole download files in memory...
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Tue, 14 Mar 2006

"nars" <no@spam.plz> wrote in message news:A52C6A2ADDF0E240no@spam.plz...

> The problem is that when downloading big files from this
> server it will try to alocate whole file in memory...

That is a known issue.  The problem is that a recent update to
TIdIOHandler.Write(TIdStream) enabled write buffering for the stream.  The
issue is under discussion by Indy's developers.  Until an official fix is
posted, you'll just have to manually take out the write buffering from
TIdIOHandler.Write(TIdStream) and then recompile Indy.

Gambit

Replies

In response to

idHTTPServer - ServeFile trying to alocate whole download files in memory... posted by nars on Wed, 15 Mar 2006