Peter Feldbaumer wrote:
>> While I'm testing ICS-SSL shutdown stuff.....
>> FreeCurrentPasvPort of FTP server is either not working properly or
>> it is not always called, no idea, however if it once triggered error
>> "no available passive ports" (or something like that), you can wait for
>> ever, even until there's no more socket in TIME_WAIT, w/o that error
>> will ever disappear.
> 
> I have been submitting changes for this bug lately - FreeCurrentPasvPort
> should now (in versions since beginning 2006) be called under all
> circumstances - this has been buggy for a long time...
> 
> Which version do you use, maybe something has been lost on merging my
> changes - unfortunately there are so many versions lately...?

I'm using current version of the ICS-SSL distribution and I'm testing
with the official demo application having SSL enabled.
 
I changed and tested different shutdown procedures in WSocket.pas 
(SSL-specific shutdown in combination with socket shutdown).
In some cases it happened that the shutdown didn't work correctly on
the server side (SessionClosed wasn't fired) when a client disconnected
successfully, my fault. However disconnecting all clients on the server
manually by Menu | Disconnect all, or restarting the server disconnected
the clients successfully. But I think the error didn't disappear.
But I may recall that wrong, and will keep an eye on it.

Arno




-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to