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