Re: [Libevent-users] pause bufferevent callback

2011-11-29 Thread Mark Ellzey
On Tue, Nov 29, 2011 at 06:58:15AM -0800, Ivan Popovski wrote: > Hi. > > Sorry on newbie question. > > Is there way to pause read callback, because i have fixed length buffer? > and in one moment need to avoid overflow and stop readcb until other > module consumes data (or other conditions are me

[Libevent-users] pause bufferevent callback

2011-11-29 Thread Ivan Popovski
Hi. Sorry on newbie question. Is there way to pause read callback, because i have fixed length buffer  and in one moment need to avoid overflow and stop readcb until other module consumes data (or other conditions are met)? The time between reading and consuming is not defined. Can i use buffere