]> git.ipfire.org Git - thirdparty/curl.git/commit
non-blocking active FTP: cleanup multi state usage
authorDaniel Stenberg <daniel@haxx.se>
Tue, 20 Dec 2011 11:52:24 +0000 (12:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Dec 2011 19:30:02 +0000 (20:30 +0100)
commitdfdac61522c7d660f884ec7a663dedb2d69d16a8
tree18fb71b132893a5bc84324002830bddb56b70309
parentc834213ad52c52431e9ca597862dc81839cabe84
non-blocking active FTP: cleanup multi state usage

Backpedaled out the funny double-change of state in the multi state
machine by adding a new argument to the do_more() function to signal
completion. This way it can remain in the DO_MORE state properly until
done. Long term, the entire DO_MORE logic should be moved into the FTP
code and be hidden from the multi code as the logic is only used for
FTP.
lib/ftp.c
lib/multi.c
lib/url.c
lib/url.h
lib/urldata.h