curl-library
Re: Canceling transfers with multi interface
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 18 Mar 2007 23:14:28 +0100 (CET)
Date: Sun, 18 Mar 2007 23:14:28 +0100 (CET)
On Sat, 17 Mar 2007, Bryan Henderson wrote:
> When I looked at the code of curl_multi_remove_handle(), I could not
> convince myself that it cleans up an in-progress transaction the way it
> happens when a progress callback returns "abort". Since the server is still
> in the middle of a transaction, libcurl has to close the connection, doesn't
> it?
Yes.
> In the progress callback case, the caller sets conn->bits.close to effect
> this, but I don't see that with removing the handle.
If not, I'd say you've found a bug!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-03-18