On Wed, Dec 23, 2009 at 02:09:10PM +0100, Bas Verhoeven wrote: [...] > Initially I forgot the 'evutil_make_socket_nonblocking(fd);'. Libevent > clearly doesn't like this but instead of returning an error it simply > crashes (segfault). [...] > Libevent seems to want to run the 'event callback', which I have not yet > registered. Registering the callbacks prior to calling > 'bufferevent_socket_connect' stops it from crashing. Not sure if this is > a bug?
Definitely a bug. It should be fixed in Git master now. many thanks, -- Nick *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
