[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] filter bufferevents and timeout
Hello,
I thought i had tested it and that it was invalidating my input filter callback...
But when done properly it works indeed, thank you!
Two other points about filter bufferevents:
- in my input filter callback, is the destination buffer the input buffer of my bufferevent_filter ?
- how is used the buffbufferevent_filter_result returned by the input filter callback ?
Bruno.
----- Mail original -----
De: "Azat Khuzhin" <a3at.mail@xxxxxxxxx>
À: libevent-users@xxxxxxxxxxxxx
Envoyé: Mercredi 1 Novembre 2017 11:45:16
Objet: Re: [Libevent-users] filter bufferevents and timeout
On Tue, Oct 31, 2017 at 1:45 PM, Bruno CARLUS <b.carlus@xxxxxxxxxxxxx> wrote:
> Hello,
> is there any way to catch and handle a timeout issued by the underlying
> bufferevent when using a filter bufferevent ?
> Thanks!
Hello,
Have you tried installing eventcb with bufferevent_setcb() for
bufferevent that you got from bufferevent_filter_new() ?
Azat.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.