[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



On Wed, Aug 22, 2012 at 1:04 PM, Hochhaus, Andrew
<ahochhaus@xxxxxxxxxxxx> wrote:
> 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.

Okay, merged.

Diwaker, does this appear to fix issue #17 for you?

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