Re: [Libevent-users] http request errors

2012-11-28 Thread Ben Short
I'll give it a go. Can't use an alpha release in our production app though. On Nov 28, 2012 2:42 AM, "Nick Mathewson" wrote: > On Tue, Nov 27, 2012 at 4:48 PM, Ben Short wrote: > > Hi, > > > > Is it possible to get socket errors from within the http request > callback? I > > need to find out if

Re: [Libevent-users] http request errors

2012-11-27 Thread Nick Mathewson
On Tue, Nov 27, 2012 at 4:48 PM, Ben Short 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_ERR

[Libevent-users] http request errors

2012-11-27 Thread Ben Short
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. Thanks Ben