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

Re: [Libevent-users] Deep recursive call of bufferevent write callback when openssl is in use



2013/2/19 Nick Mathewson <nickm@xxxxxxxxxxxxx>:
> On Mon, Feb 18, 2013 at 8:58 PM, JiaQiang Xu <xjqkilling@xxxxxxxxx> wrote:
>> 2013/2/19 Nick Mathewson <nickm@xxxxxxxxxxxxx>:
>>> On Mon, Feb 18, 2013 at 9:01 AM, JiaQiang Xu <xjqkilling@xxxxxxxxx> wrote:
>>>> Hi,
>>>>
>>>> I'm using libevent to write an http server for transferring files. I
>>>> use openssl for https.
>>>
>>> Have you tried looking at the BEV_OPT_DEFER_CALLBACKS option?  Its
>>> main role it to prevent infinite chains of recursive callbacks like
>>> this.
>>>
>>
>> I'm going to try this. Would setting this option affect the
>> functionality of libevent openssl?
>
> It shouldn't hurt anything.

Thanks, recursion is gone now.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.