aboutsummaryrefslogtreecommitdiff
path: root/include/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connection.h b/include/connection.h
index 6c57901..3e15403 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -4,9 +4,9 @@
#include <stddef.h>
#include <stdint.h>
-#define CONNECTION_BUFFER_SIZE 1024
+#define CONNECTION_BUFFER_SIZE 256
-#define MAX_FDS_OUT 8
+#define MAX_FDS (CONNECTION_BUFFER_SIZE / sizeof(int))
struct connection_buffer {
uint32_t head, tail;