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

2012-11-08 Thread Nick Mathewson
Hello again! On Tue, Nov 6, 2012 at 4:12 PM, Himanshu S wrote: > > On Tue, Nov 6, 2012 at 7:37 AM, Nick Mathewson wrote: > > Right now the best way to do what you have in mind is to consider *why* >> you only want to read partial data and then read again after the next event >> loop -- there's

Re: [Libevent-users] evbuffer_readln(LF) equivalent in 1.4

2012-11-08 Thread Nick Mathewson
On Tue, Nov 6, 2012 at 11:28 PM, Tay Ray Chuan wrote: > Hi, > > I'm calling evbuffer_readln(..., EVBUFFER_EOL_LF), but I have to > support 1.4 as well. Is there an equivalent invocation? > evbuffer_readline()? > I'm a little confused; looking at 1.4.14b, it appears that EVBUFFER_EOL_LF is in the