Re: [Libevent-users] Using event_active() for partial reading with bufferevents

2012-11-06 Thread Himanshu S
On Tue, Nov 6, 2012 at 7:37 AM, Nick Mathewson wrote: > > On Tue, Nov 6, 2012 at 12:29 AM, Himanshu S wrote: > >> Hi, >>I am using bufferevent_* APIs for my application to read/write data to >> TCP stream. When the data arrives, the read callback happens, I want to >> read partial data (at ti

Re: [Libevent-users] Using event_active() for partial reading with bufferevents

2012-11-06 Thread Nick Mathewson
On Tue, Nov 6, 2012 at 12:29 AM, Himanshu S wrote: > Hi, >I am using bufferevent_* APIs for my application to read/write data to > TCP stream. When the data arrives, the read callback happens, I want to > read partial data (at times), and then be able to post an event back so > that the event