micheleselea c4f0727bc7 Fix in close and open (#1911)
* Fix in close and open

close(): fix possible throw on broken socket that could lead in CLOSE_WAIT leak (especially under linux OS)
open(): fix open function to deal with control socket created from outside and login without user

* Fix FTPSClientSession ctor

* fix: check if controlsocket is valid

* removed read server reply with no username

If we read server reply with no username, we can end up with a throw (if server reply is negative) and the testLoginFailed1 fail
2017-09-30 23:24:10 -05:00
..
2017-09-20 22:13:19 -05:00
2017-09-30 23:24:10 -05:00
2012-04-23 01:14:34 +00:00
2017-09-09 10:50:32 +02:00
2012-04-29 18:52:25 +00:00