| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: keeping connection on multi_remove_handle for FTP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 6 Dec 2006 09:39:56 +0100 (CET)
On Wed, 6 Dec 2006, Armel Asselin wrote:
>>> /* if we have a connection we must call Curl_done() here so that we
> maybe i was not clear, in fact the first step of the process is to know that
Yes, I agree that we can use the multi state to figure out if the process is
But: I don't want to add a puplic error code to the list of errors just for
> up to there there is no question of ABOR handling and whatever. it is just
Of course, if the control connection is fine it should be kept "alive" even
Note: libcurl treats connections somewhat different since 7.16.0+. It now
> I may go further and try to handle CURLE_CANCELLED error (or whatever we
Yes, if ctlvalid is TRUE then the connection should indeed be kept.
> - detecting cancellation (the above test seem ok, i.e.
I don't think this is necessary.
> - signaling cancellation to the protocol (Curl_done(conn, CURLE_CANCELLED)
I don't think this is necessary. The FTP code itself should keep track of it
> - handle cancellation in the nicest way per protocol (not done yet, maybe
I don't quite follow you here. What do you mean with "we don't want to wait
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-12-06 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info