Re: [Libevent-users] Debugging bufferevent_openssl (filtered)

2012-05-24 Thread Diwaker Gupta
> Maybe you can check if other events besides BEV_EVENT_ERROR are set? > Like BEV_EVENT_EOF or BEV_EVENT_TIMEOUT? And are you sure the bufev > ptr passed to bufferevent_write() is valid? Thats the most likely > cause of generating segv's mostly. I've already checked that EOF and TIMEOUT are not se

Re: [Libevent-users] Debugging bufferevent_openssl (filtered)

2012-05-24 Thread Tommy van Leeuwen
On Thu, May 24, 2012 at 8:18 PM, Diwaker Gupta wrote: > On Thu, Mar 29, 2012 at 11:45 AM, Nick Mathewson wrote: >> On Thu, Mar 29, 2012 at 2:31 PM, Diwaker Gupta >> wrote: >>> I'm using a filtered bufferevent to do SSL over another bufferevent. >>> Occasionally, my application crashes. Unfortun

Re: [Libevent-users] Debugging bufferevent_openssl (filtered)

2012-05-24 Thread Diwaker Gupta
On Thu, Mar 29, 2012 at 11:45 AM, Nick Mathewson wrote: > On Thu, Mar 29, 2012 at 2:31 PM, Diwaker Gupta wrote: >> I'm using a filtered bufferevent to do SSL over another bufferevent. >> Occasionally, my application crashes. Unfortunately, neither >> EVUTIL_SOCKET_ERROR nor bufferevent_get_openss

Re: [Libevent-users] Linking with -levent

2012-05-24 Thread Ross Lagerwall
On 22/05/2012 15:22, Nick Mathewson wrote: I'd like to do it, but I'm worried about the hundreds of projects that it would break -- namely, the ones that don't use pkgconfig. One of my guiding principles with Libevent is not to break existing well-formed code, and I'd like to stick to that as fa