]> git.ipfire.org Git - thirdparty/curl.git/commit
ftp: make domore_getsock() return the secondary socket properly
authorDaniel Stenberg <daniel@haxx.se>
Thu, 14 May 2020 22:40:25 +0000 (00:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 15 May 2020 06:28:56 +0000 (08:28 +0200)
commit449e54b483ccad4abfdf62e5500190a8c084cee0
tree523405255c1bced4a12991b12ae1195fbbfcf9f9
parent9e95ca10b507914c33fe56862ab31cc0c6498049
ftp: make domore_getsock() return the secondary socket properly

Previously, after PASV and immediately after the data connection has
connected, the function would only return the control socket to wait for
which then made the data connection simply timeout and not get polled
correctly. This become obvious when running test 1631 and 1632 event-
based.
lib/ftp.c