cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: New curl_easy_getinfo selector to return additional error information

From: Larry Campbell <lcampbel_at_akamai.com>
Date: Fri, 24 Sep 2004 16:37:45 -0400

On Sep 24, 2004, at 3:55 AM, Daniel Stenberg wrote:

> On Thu, 23 Sep 2004, Larry Campbell wrote:
>
>> Here's a patch that adds a new curl_easy_getinfo selector,
>> CURLINFO_OS_ERRNO, that returns the most recent errno value that's
>> relevant to a connect attempt. This allows you to distinguish
>> between, for example, "connection refused" and "host unreachable".
>
> I'm sorry, but can you remake your patch in a regular 'diff -u'
> format? I'm not able to apply this patch with the patch tool!

Sorry about that, I hope these are better. (Note - they don't produce
exactly the same code as yesterday, as I've made some improvements
since then.)

- lc

Received on 2004-09-25

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET