[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



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.

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