I'll give it a go. Can't use an alpha release in our production app though.
On Tue, Nov 27, 2012 at 4:48 PM, Ben Short <ben@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> Is it possible to get socket errors from within the http request callback? I
> need to find out if the requested timed out or the connection was refused
> etc.
Libevent 2.1.2-alpha added a patch to try to make errno (or
EVUTIL_SOCKET_ERROR() for the portable version) give a reliable error
code in the failing case. This was commit 36d0ee5 by Patrick
Pelletier. Try it out; does it work for you?
yrs,
--
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.