cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [ curl-Bugs-1600447 ] Active FTPupload/downloadwithmultiinterface.

From: Alexey Simak <alexeysimak_at_gmail.com>
Date: Sun, 26 Nov 2006 18:25:43 +0200

> Then how come your suggested patch solved the problem? It did not change
that
> order in any way either. (And my version was just my take at improving
that
> patch.)

The program hangs in function Curl_is_connected(). My patch excludes call
of Curl_is_connected() in state CURLM_STATE_DO_MORE
if ftp mode is active.

> Also, what still hasn't been answered: why is this a problem only for the
> multi interface? The same order of procedures are used with the easy
interface
> as well, and with your initial test server (from the bug report) I can use
> curl and active FTP just fine!

The order of procedure used with the easy interface is the same as with
multi
interface only if libcurl is built with CURL_MULTIEASY preprocessor
definition. In this case we have the same issue with easy interface also. I
suppose
the version of curl you tried was built without CURL_MULTIEASY definition.
Received on 2006-11-26