src/ebb.h in ebb-0.0.3 vs src/ebb.h in ebb-0.0.4
- old
+ new
@@ -16,14 +16,14 @@
typedef struct ebb_server ebb_server;
typedef struct ebb_client ebb_client;
-#define EBB_BUFFERSIZE (1024 * (80 + 32) * 2)
-#define EBB_MAX_CLIENTS 950
+#define EBB_BUFFERSIZE (1024 * (80 + 33))
+#define EBB_MAX_CLIENTS 200
#define EBB_TIMEOUT 30.0
-#define EBB_MAX_ENV 100
+#define EBB_MAX_ENV 500
#define EBB_TCP_COMMON \
unsigned open : 1; \
int fd; \
struct sockaddr_in sockaddr;
@@ -86,10 +86,10 @@
/*** Ebb Server ***/
typedef void (*ebb_request_cb)(ebb_client*, void*);
-ebb_server* ebb_server_alloc();
+ebb_server* ebb_server_alloc(void);
void ebb_server_free(ebb_server*);
void ebb_server_init( ebb_server *server
, struct ev_loop *loop
, ebb_request_cb request_cb
, void *request_cb_data