Przeglądaj źródła

ncd: modules: socket: increase read buffer size for better performance

ambrop7 13 lat temu
rodzic
commit
8acab0e8e0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ncd/modules/socket.c

+ 1 - 1
ncd/modules/socket.c

@@ -149,7 +149,7 @@
 #define CONNECTION_STATE_ERROR 3
 #define CONNECTION_STATE_ABORTED 4
 
-#define READ_BUF_SIZE 1024
+#define READ_BUF_SIZE 8192
 
 struct connection {
     union {