On Fri, 5 Jun 2009 18:38:02 -0400
Nick Mathewson <ni...@freehaven.net> wrote:

> 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.
> 

Heh, sure thing.

> 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.
> 

Nope, I am implementing a disgusting proprietary protocol that I did not
design. Encryption is built in to the protocol, so a simple transform
would suffice (as far as I can predict - I may be wrong).

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

Reply via email to