|Subject:||Re: FTPServer hangs on shutdown when more than 1 binding (10.1.5)|
|Posted by:||Wykananda (wykanan…@hotmail.com)|
|Date:||Wed, 30 Nov 2005|
Actually, sorry, it does seem to work. It just takes longer when there are
more bindings. So if there are 3 bindings, it will take up to 15 seconds to
return the FTPServer.Active := false command. Is this normal?
"Wykananda" <wykanan…@hotmail.com> wrote in message
> I'm kind of a newbie to Indy components...
> Basically, I have only one permitted User account but that user logs in
> multiple times at once. My application hangs on FTPServer.Active := false
> whenever I have a binding count greater than 1 it seems. I've tried many
> things such as nil-ing all assigned events before setting Active to false
> etc. but nothing seems to work. The TerminateWaitTime is set to 5000.
> With 1 binding, it seems to average about 5 seconds before the command
> returns but anymore and it never returns.
> Any thoughts or workarounds? Is there something I'm supposed to do before
> setting Active := false when there are active connections?
FTPServer hangs on shutdown when more than 1 binding (10.1.5) posted by Wykananda on Wed, 30 Nov 2005