Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Indy SSL error

www.cryer.info
Managed Newsgroup Archive

Re: Indy SSL error

Subject:Re: Indy SSL error
Posted by:"Koger" (ing..@mail.dk)
Date:17 May 2006 02:27:06

Thanks for your time

> > AFAIK these problems are releated to deadlocking, which isn't the
> > problem here.
>
> It doesn't matter.  Letting the TThread destructor call Terminate()
> and WaitFor() has a lot of problems.  Never rely on that behavior!

> > Please look at my code again.
>
> You are doing everything in your thread's destructor, which is not a
> good place to do it.  Please re-read my earlier comments.  You should
> be disconnecting and terminating the thread BEFORE freeing it.  The
> code I gave you does that.


I disagree about your destructor opinion, but I think that's another
discussion, so lets not use more time on that right now, ok?

Anyway did you read my other message about that your code produces the
exact same error, so it didn't solve the problem anyway. Do you have
other suggestions?

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive