cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] CURLM_ADDED_ALREADY: new error code

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 20 Aug 2013 12:49:42 +0200

On Tuesday 20 August 2013 12:31:24 Daniel Stenberg wrote:
> Hi all,
>
> I'm about to introduce a new error code for the multi interface so I'm all
> ears for any feedback you might have on this!
>
> Doing curl_multi_add_handle() on an easy handle that is already added to
> a multi handle now returns this error code. It previously returned
> CURLM_BAD_EASY_HANDLE for this condition.

Looks good to me.

> @@ -273,6 +273,9 @@ The passed-in socket is not a valid one that libcurl
> already knows about. .IP "CURLM_UNKNOWN_OPTION (6)"
> curl_multi_setopt() with unsupported option
> (Added in 7.15.4)
> +.IP "CURLM_ADDED_ALREADY (7)"
> +An easy handle already added to a multi handle was attmpted to get added a
> +second time. (Added in 7.32.1)

There is a typo in the above statement: attmpted -> attempted

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-08-20