[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] bufferevent_openssl: readcb not always called for last partial read



Thanks.

On Wed, Aug 22, 2012 at 11:33 AM, Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:
> Hm.  Looking at how the output is used, I think that the tristate
> output format is probably a mistake.  It wants to return both "did I
> read any data" *and* "am I now blocked", but the current interface
> can't express "I read some data and then I got blocked."

Well said, this sounds right to me.

> How do you like the looks of the attached patch?

Looks good.

-Andy
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.