Re: [Libevent-users] Help with progress thread

2010-11-12 Thread Nick Mathewson
On Sat, Nov 13, 2010 at 12:06 AM, Ralph Castain wrote: > Email is frequently a horrid method of communication, I fear. Let me dig > deeper into this and see what I can find, rather than continuing to draw on > your time. > > Putting all the notes together, it looks like libevent does internally

Re: [Libevent-users] Help with progress thread

2010-11-12 Thread Ralph Castain
Email is frequently a horrid method of communication, I fear. Let me dig deeper into this and see what I can find, rather than continuing to draw on your time. Putting all the notes together, it looks like libevent does internally exactly what we were doing externally, so the duplication may wel

Re: [Libevent-users] Help with progress thread

2010-11-12 Thread Nick Mathewson
On Fri, Nov 12, 2010 at 10:47 AM, Ralph Castain wrote: > Hi Nick > > Appreciate the help. Shame on me for the buglet re open. > > Using your revisions, I was able to get this to work with our integration > (i.e., using the opal abstractions). I'm a little puzzled by the procedure, > though, so i

Re: [Libevent-users] Re: libevent-2.0.8-rc/evdns.c:2672: Assertion (req)->handle && (req)->handle->current_req == (req) failed in evdns_cancel_request

2010-11-12 Thread Nick Mathewson
On Fri, Nov 5, 2010 at 10:52 AM, Nick Mathewson wrote: > On Thu, Nov 4, 2010 at 4:06 PM, Denis Bilenko wrote: >> On Thu, Nov 4, 2010 at 9:10 PM, Nick Mathewson wrote: >>> Assuming that it now crashes in a different place from where it used >>> to crash -- that is, at ASSERT_VALID_REQUEST in evdn

Re: [Libevent-users] Help with progress thread

2010-11-12 Thread Ralph Castain
Hi Nick Appreciate the help. Shame on me for the buglet re open. Using your revisions, I was able to get this to work with our integration (i.e., using the opal abstractions). I'm a little puzzled by the procedure, though, so if you don't mind my tasking your patience, I do have a question. I

Re: [Libevent-users] asynchronous or simultanous web service using evhttp.h

2010-11-12 Thread Basile Starynkevitch
On Fri, 12 Nov 2010 09:10:31 +0200 Mihai Draghicioiu wrote: > Just use an event loop and http callbacks in your server code. That's > what the whole point of libevent is, i think. I can show you an > example libevent based http page http://mappinghell.net:2 it > refreshes some data each 2 sec