cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: connect error reporting
Did this patch got stuck somewhere?
An updated patch attached.
----- Original Message -----
From: "Gisle Vanem" <gvanem_at_broadpark.no>
To: "curl-library" <curl-library_at_cool.haxx.se>
Sent: Friday, May 07, 2004 10:55 PM
Subject: connect error reporting
> libcurl now reports failed connections on Windows as:
> * Connect failed; No error
> "No error" comes from the sclose() call since errno's on
> Windows doesn't work as on Unix (where errno is only set
> on failure).
> AFAICS, since connect() is non-blocking, the error must be
> obtained from getsockopt(..SO_ERROR), but verifyconnect()
> doesn't do this on Windows. Not sure why that is ifdef'ed out,
> but that function works fine here.
> Attached is a little patch that gives correct error response.
> Also a minor detail for ldap.[ch]; no Curl_ldap_done().
Received on 2004-05-12
These mail archives are generated by hypermail.
Page updated November 12, 2010.
File upload with ASP.NET
web site info