[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Debugging bufferevent_openssl (filtered)
I'm using a filtered bufferevent to do SSL over another bufferevent.
Occasionally, my application crashes. Unfortunately, neither
EVUTIL_SOCKET_ERROR nor bufferevent_get_openssl_error are useful.
The former says "Undefined error: 0" (via evutil_socket_error_to_string)
The latter gives "error:00000000:lib(0):func(0):reason(0)"
The application crashes trying to do a bufferevent_write() on the
filtered be, with a segmentation fault. The remote just sees a
connection reset by peer. If I disable the filtered bufferevent,
things work just fine. Is there some other debug information that I
can extract from libevent?
Thanks,
Diwaker
--
http://maginatics.com
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.