Re: [Libevent-users] How can I write exact length of a evbuffer?

2012-04-20 Thread Sanjiv
Thanks Nick! Will make a note of that point. On Fri, Apr 20, 2012 at 10:19 AM, Nick Mathewson wrote: > On Thu, Apr 19, 2012 at 10:54 PM, Sanjiv wrote: > > That's right, you can use event_free() to free a timer. If your event > loop > > is still active , I would recommed

Re: [Libevent-users] How can I write exact length of a evbuffer?

2012-04-19 Thread Sanjiv
That's right, you can use event_free() to free a timer. If your event loop is still active , I would recommed a evtimer_del() before event_free(). -- Sanjiv On Fri, Apr 20, 2012 at 7:17 AM, Dawen Rie wrote: > Thank you very much, my problem solved! > Can I ask other question? &

Re: [Libevent-users] How to activate read callback when not all data was read

2012-04-10 Thread Sanjiv
is no further data to be drained. i.e on each read callback read as much data as possible. Hope this works. -- Thanks Sanjiv On Tue, Apr 10, 2012 at 2:40 PM, Nils Rennebarth wrote: > Hi, > > In my daemon which uses libevent, i use bufferevent to read client commands > from a socket, set

[Libevent-users] HTTP Persistent Connections and request level timeout.

2012-02-22 Thread Sanjiv
ed in detail) at http://stackoverflow.com/questions/9396672/how-do-i-use-persistent-http-connections-and-set-request-level-timeout-using-lib -- Sanjiv Raj p.s - This is my first question on this list, and so am not very familiar with posting rules regarding outside links.