cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Query regarding CURLOPT_OPENSOCKETFUNCTION

From: Lijo Antony <lta_at_one.com>
Date: Tue, 03 Apr 2012 11:17:30 +0400

On 03/25/2012 02:56 PM, Lijo Antony wrote:
> Hi,
>
> I have observed that when opensocket_callback returns CURL_SOCKET_BAD,
> libcurl returns CURLE_FAILED_INIT instead of CURLE_COULDNT_CONNECT. This
> is incorrect as per the documentation at
> http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTOPENSOCKETFUNCTION.
> Is this a bug?
>

Is this a bug?
If yes, would you accept a patch?

-lijo
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-03