multi: start ftp state machine when switching to DO_MORE
authorDaniel Stenberg <daniel@haxx.se>
Thu, 27 Oct 2011 10:46:29 +0000 (12:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Oct 2011 10:46:29 +0000 (12:46 +0200)
commitb0d42da26bd66baf326781149bdbdd7336d51269
tree6a57bc494a02ccebc54fed36fa3f663cc4f51b67
parent120025b7f853562af685e6385794c518eccc28c4
multi: start ftp state machine when switching to DO_MORE

This extends the fix from commit d7934b8bd491

When the multi state is changed within the multi_runsingle from DOING to
DO_MORE, we didn't immediately start the FTP state machine again. That
then left the FTP state in FTP_STOP. When curl_multi_fdset() was
subsequently called, the ftp_domore_getsock() function would return the
wrong fd info.

Reported by: Gokhan Sengun
lib/multi.c