o Avoid data corruption when reading data entirely into the second-to-last chain of an evbuffer. [Bug report from Victor Goya]
o Make sendfile work on FreeBSD
o Do not use vararg macros for accessing evrpc structures; this is not backwards compatible, but we did not promise any backwards compatibility for the rpc code.
+ o Actually define the event_config_set_flag() function.
+
Changes in 2.0.1-alpha:
o free minheap on event_base_free(); from Christopher Layne
mm_free(cfg);
}
+
+int
+event_config_set_flag(struct event_config *cfg,
+ enum event_base_config_flag flag)
+{
+ if (!cfg)
+ return -1;
+ cfg->flags |= flag;
+ return 0;
+}
+
int
event_config_avoid_method(struct event_config *cfg, const char *method)
{