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 requ

[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

Re: [Libevent-users] Shutting down the echo server

2012-06-22 Thread Ben Short
Thanks Nick that worked. On 20 June 2012 15:38, Nick Mathewson wrote: > On Wed, Jun 20, 2012 at 5:32 AM, Ben Short wrote: > > Hi, > > > > I've used the echo server example to implement my own server. I call > > the event_base_dispatch in a new thread. > >

[Libevent-users] Shutting down the echo server

2012-06-20 Thread Ben Short
Hi, I've used the echo server example to implement my own server. I call the event_base_dispatch in a new thread. Is there anyway to do an orderly shutdown of the event dispatcher? I've tried event_base_loopbreak which returns 0 but the event_base_dispatch doesn't return. I'm using libevent 2.0