Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Indy - 20080209 - SSL assertion failure...

www.cryer.info
Managed Newsgroup Archive

Indy - 20080209 - SSL assertion failure...

Subject:Indy - 20080209 - SSL assertion failure...
Posted by:"Arvid Haugen" (arv..@elis.no)
Date:Thu, 14 Feb 2008 09:17:04

Hi,

I downloaded a new Indy version 20080209.

I have a webservier (idHTTPServer) using SSL.

I keep getting
Assertion failure
(D:\Elwin\Webservice\Indy10\Lib\Protocols\IdCustomHTTPServer.pas, line 768)

This line is:
Assert(not IOHandler.ReadLnTimedOut);
in
function TIdCustomHTTPServer.DoExecute(AContext:TIdContext): boolean;

So for some reason I keep getting timeouts. This code has not changed from
the previous version I used (the one shipped with Delphi 2006) - any idea
why I suddenly get timeouts?

Should I just ignore this?

The server seems to work ok, beside from one strange behavior.
Sometimes I do not get connected (loads for about 20 seconds and then I the
page stating: "cannot find server"
When I reload it opens ok. The "Onconnect"/"OnExecute" is not triggered when
this happens.

I do set PassThrough to false in "OnConnect":
TIdSSLIOHandlerSocketBase(AContext.Connection.IOHandler).PassThrough :=
False

I do not know if this has got anything to do with Indy - but if you have any
suggestions, or have heard of the problem before I would be grateful. The
problem seems to only happen when SSL is activated.

/Arvid

Replies:

www.cryer.info
Managed Newsgroup Archive