Re: New curl_easy_getinfo selector to return additional error information
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
- application/octet-stream attachment: connect.c.patch
- application/octet-stream attachment: curl.h.patch
- application/octet-stream attachment: getinfo.c.patch