Details
Description
I'm trying to track down the cause of some timeout errors that I am now getting under heavy load since the
"network error" return issue has been resolved and I was able to abandon the use of lcb_wait(). I don't know
if this is due to using an old libev OR these are some commands being lost in ringbuffer logic when I pound it
with tons of lcb_get() calls within a loop (before control is returned to the event loop)
So, easiest step it to try a new libev first before I come here crying :>
When I try to compile the plugin with v4.11 (latest from Feb 2012) it will not compile
unless I add the following
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#define INVALID_SOCKET -1
into either the header file or the top of the code. And, yes, I did add -DHAVE_LIBEV4 to my gcc line
warning: implicit declaration of function memset
warning: implicit declaration of function fcntl
error: INVALID_SOCKET undeclared (first use in this function)
warning: implicit declaration of function free
etc
Looks like the old libev headers sucked in more includes than they do now.