]> granicus.if.org Git - curl/commit
FTP: call opensocket callback properly
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 10:42:10 +0000 (11:42 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 10:42:10 +0000 (11:42 +0100)
commit088ba97a2471c97e90fe7153dff0ce119faab4ef
tree20244866a27849b1b2126875f55d3c972aee6ea9
parent9109cdec11ee5a19f132fd7bdf2e9ceefea4de41
FTP: call opensocket callback properly

When the new socket is created for an active connection, it is now done
using the open socket callback.

Test case 596 was modified to run fine, although it hides the fact that
the close callback is still called too many times, as it also gets
called for closing sockets that were created with accept().
docs/libcurl/curl_easy_setopt.3
lib/connect.c
lib/ftp.c
tests/data/test596