Browse Source

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

ambrop7 13 years ago
parent
commit
8acab0e8e0
1 changed files with 1 additions and 1 deletions
  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_ERROR 3
 #define CONNECTION_STATE_ABORTED 4
 #define CONNECTION_STATE_ABORTED 4
 
 
-#define READ_BUF_SIZE 1024
+#define READ_BUF_SIZE 8192
 
 
 struct connection {
 struct connection {
     union {
     union {