|Subject:||FTPServer hangs on shutdown when more than 1 binding (10.1.5)|
|Posted by:||Wykananda (wykanan…@hotmail.com)|
|Date:||Wed, 30 Nov 2005|
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?