On Tue, 3 Apr 2012, Lijo Antony wrote:

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?

Yes, I think it is a bug and yes we would accept a patch!

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to