On Fri, Jun 05, 2009 at 06:31:35PM -0400, Alex wrote:
 [...]
> 
> Hey, great book! I checked it out of git about an hour ago and have
> been reading it ever since. Since I am decrypting data from the TCP
> stream I might also want to look in to filtering with the BEV_NEED_MORE
> flag as well as the aforementioned watermark.
> 

Okay!  You should know that the filtering is a little experimental,
and so you might run into bugs or API warts on it.  If you can't make
it do what you want, don't assume that you are the one at fault: let
us know.

Also, if you're using SSL/TLS, be aware that you can't actually write
a filter for it using the bufferevent_filter API, since sometimes a
TLS read operation can require underlying reads _and_ writes, and the
bufferevent_filter API only works for filters that work as a pure
transform on an input or output stream.

yrs,
-- 
Nick
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to