Просмотр исходного кода

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

ambrop7 13 лет назад
Родитель
Сommit
8acab0e8e0
1 измененных файлов с 1 добавлено и 1 удалено
  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 {