o When adding or deleting an event from a non-main thread, only wake up the main thread when its behavior actually needs to change.
o Fix some bugs when using the old evdns interfaces to initialize the evdns module.
o Detect errors during bufferevent_connect(). Patch from Christopher Davis.
+ o Fix compilation for listener.h for C++ - missing extern "C". Patch from Ferenc Szalai.
Changes in 2.0.2-alpha:
#ifndef _EVENT2_LISTENER_H_
#define _EVENT2_LISTENER_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <event2/event.h>
struct sockaddr;
/** Return the socket that an evconnlistner is listening on. */
evutil_socket_t evconnlistener_get_fd(struct evconnlistener *lev);
+#ifdef __cplusplus
+}
+#endif
+
#endif