Bug#648979: Simple fix

2011-11-17 Thread Gary Barker
I think the fix is as simple as - setting ssl_active_flag = 0; at the end of void disconnect() function in cmds.c - setting ssl_active_flag = 0; at the end of void lostpeer(int) function in main.c - in ssl_init() function in ftp.c, before creating a SSL_new ssl_conn free any old one:

Bug#648979: close command does not reset control connection to clear (plain)

2011-11-16 Thread Gary Barker
package: netkit-ftp-ssl Version: 0.17.23+0.2-1 When connecting to a secure ftp server, closing the connection, then opening a new connection to either the same, or a different server, the client fails. It reads the first 5 bytes of the control connection (which will be the 220 message) and fails