Re: Using fopensocket instead of direct socket call
Date: Sun, 4 Dec 2011 23:12:50 +0100 (CET)
On Fri, 2 Dec 2011, Gokhan Sengun wrote:
> in function ftp_state_use_port(), direct call to socket() is used. However
> upon closing the socket fclosesocket function is used. It looks to me (if
> not missing something), it should check whether fopensocket is set and call
> this function if happens to be so.
Here's my two new test cases to verify that open/close socket callback are
paired up properly - test 596 currently fails due to this mentioned bug. I'm
slowly working on a fix.
-- / daniel.haxx.se
- TEXT/x-diff attachment: 0001-test-verify-the-opensocket-callback-for-FTP.patch