Thanks, I'm aware of that function. However, the reads from the socket
comes in with several lines at a time and the buffer does not necessarily
begin with the start of a new line or end at the end of a line. In these
cases the callback handler will handle the last full line first. I'm not
sure if this is a bug in evbuffer_readln() or not?

On Tue, Feb 2, 2016 at 11:41 AM, Azat Khuzhin <[email protected]> wrote:

> On Mon, Feb 1, 2016 at 9:05 PM, Øystein Schønning-Johansen
> <[email protected]> wrote:
> > Hi!
> >
> > Are there any tricks to make an evbuffer line-based? I would love it if I
> > could read line by line from the evbuffer. Are there any tricks I can do?
>
> evbuffer_readln() ?
> ***********************************************************************
> To unsubscribe, send an e-mail to [email protected] with
> unsubscribe libevent-users    in the body.
>

Reply via email to