SSL - several issues

Tested this both on my server (Schannel) & glftpd (openssl).

1. Open 10-20ssl sessions
2. Set LIST as keep alive command, set 0 as keep alive value
3. Wait few seconds
4. In the worst case scenario smartftp crashes after perioid of time

PORT 192,168,1,10,16,56
200 PORT command successful.
Opening data connection IP: 192.168.1.10 PORT: 4152.
LIST -aL
150 Opening ASCII mode data connection for directory listing.
Connected. Exchanging encryption keys...
SSL Error
0 bytes received successfully. (0 B/s) (00:00:01).
426 Connection closed: Client disconnected during key exchange.


200 PORT command successful.
Opening data connection IP: 192.168.1.10 PORT: 4413.
LIST -aL
150 Opening ASCII mode data connection for directory listing.
Connected. Exchanging encryption keys...
Session Cipher: 168 bit 3DES
SSL encrypted session established.
The handle specified is invalid
226 [PWD: /home/ ]-[Section: Home]-[Credits: 2.9M]-[Ratio: Unlimited]-[Speed: 0.0kb/s]


----

+- System -----------------------------

Microsoft Windows XP Professional
Service Pack 1 (Build 2600)

CPU Speed : 1978 MHz
Total Memory : 523832 KB
Free Memory : 268668 KB

+- SmartFTP ---------------------------

Version : 1.0.979.3
Time Stamp : 2003-10-06 07:34:26

+- Application DLL --------------------

controls.dll : 1.6.979.3
ftpapi.dll : 2.0.979.3
language.dll : 1.0.979.3
reseng.dll : 1.3.979.3
smarthook.dll : 1.0.2.1

+- System DLL -------------------------

shell32.dll : 6.00.2800.1233 (xpsp2.030604-1804)
shlwapi.dll : 6.00.2800.1226
comctl32.dll : 6.0 (xpsp1.020828-1920)
riched20.dll : 5.30.23.1211
schannel.dll : 5.1.2600.1106 (xpsp1.020828-1920)

+- Internet Explorer ------------------

Version : 6.0.2800.1106

+- Winsock ----------------------------

Winsock : 2.2

Hello.

I couldn't reproduce the crash. Maybe with 50 simultaneous connections it does but this is more of a theoretical situation.

-Mat