|Subject:||Re: Assert in IdCustomHTTPServer line 768|
|Posted by:||Remy Lebeau \(TeamB\) (email@example.com)|
|Date:||Tue, 22 Apr 2008|
"Thomas Bergerot" <firstname.lastname@example.org> wrote in message
> However, i get quite often an Assert failed exception in
> IdCustomHTTPServer line 768.
> What is the purpose of this assert ?
To make sure the client actually begins sending a new request before the
timeout expires. Unlike other reading methods, ReadLn() does not throw its
own exception on timeout, hense the existence of the separate ReadLnTimedOut
property. In earlier releases, TIdCustomHTTPServer would crash if ReadLn()
timed out since there was no data to process, so the assert was added to
Assert in IdCustomHTTPServer line 768 posted by Thomas Bergerot on Tue, 22 Apr 2008